[R] Re: dates in chron package, split warning message

Steve Su s.su at qut.edu.au
Thu May 22 07:16:31 CEST 2003


>
> > Dear All,
> >
> > I am currently using R for windows.
> >
> > I am wondering why the dates command in chron package does not work in
the
> > following situation:
> >
> > cut(dates(c(23,45,67),origin=c(1,1,2004)),"months")
> >
> > but will work for:
> >
> > cut(dates(c(23,45,67),origin=c(1,1,2004)),"days")
> > cut(dates(c(23,45,67),origin=c(1,1,2004)),"weeks")
> >
> > My second query is rather trivial but I am wondering why warning
messages
> > were given when using the split in this manner:
> >
> > split(matrix(1:12,nrow=4),c(1,1,2,3)) # Which does what I want it to do.
> >
> > and no warning messages were given in Splus6 for example?
> >
> >
> >
>
****************************************************************************
> > **********
> >
> >  Steve Su (s.su at qut.edu.au)
> >  PhD student.
> >
> >  School of Accountancy
> >  School of Mathematical Sciences
> >  Queensland University of Technology
> >
> >  Postal Address: Steve Su, School of Accountancy, QUT, PO Box 2434,
> > Brisbane,
> >  Queensland, Australia, 4000.
> >
> >
> >  Phone:  +61 7 3864 2017
> >  Fax:    +61 7 3864 1812
> >  Mobile: 0421  840  586
> >      .
> >    _--_|\
> >   /      QUT
> >   \_.--._/
> >         v
> >
> >
>
****************************************************************************
> > **********
> >
> >
>
****************************************************************************
> > **********
> >
> >  Steve Su (s.su at qut.edu.au)
> >  PhD student.
> >
> >  School of Accountancy
> >  School of Mathematical Sciences
> >  Queensland University of Technology
> >
> >  Postal Address: Steve Su, School of Accountancy, QUT, PO Box 2434,
> > Brisbane,
> >  Queensland, Australia, 4000.
> >
> >
> >  Phone:  +61 7 3864 2017
> >  Fax:    +61 7 3864 1812
> >  Mobile: 0421  840  586
> >      .
> >    _--_|\
> >   /      QUT
> >   \_.--._/
> >         v
> >
> >
>
****************************************************************************
> > **********
> >
>




More information about the R-help mailing list