Re: [R] Simple rep() question duplicating times and dates.

2008-11-06 Thread John Kane
to legal privilege. It should > not be copied, > disclosed to, retained or used by any other party. > If you are not an intended recipient then please promptly > delete this > e-mail and any attachment and all copies and inform the > sender. > ________

Re: [R] Simple rep() question duplicating times and dates.

2008-11-06 Thread Solveig Mimler
ot; <[EMAIL PROTECTED]> Subject: Re: [R] Simple rep() question duplicating times and dates. To: [EMAIL PROTECTED] Cc: R R-help <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 On Wed, Nov 5, 2008 at 4:02 PM, John Kane <[EMAIL PROT

Re: [R] Simple rep() question duplicating times and dates.

2008-11-05 Thread John Kane
> Subject: Re: [R] Simple rep() question duplicating times and dates. > To: [EMAIL PROTECTED] > Cc: "R R-help" <[EMAIL PROTECTED]> > Received: Wednesday, November 5, 2008, 10:14 AM > On Wed, Nov 5, 2008 at 4:02 PM, John Kane > <[EMAIL PROTECTED]> wrote: &

Re: [R] Simple rep() question duplicating times and dates.

2008-11-05 Thread Gustaf Rydevik
On Wed, Nov 5, 2008 at 4:02 PM, John Kane <[EMAIL PROTECTED]> wrote: > > I want to create a data.frame of time and date for a year. I started with > the idea of simply producing two vectors (time and date) > > The first part ( time) is easy. > rep(1:24, 365) > > But how do I get a series of 24 d

[R] Simple rep() question duplicating times and dates.

2008-11-05 Thread John Kane
I want to create a data.frame of time and date for a year. I started with the idea of simply producing two vectors (time and date) The first part ( time) is easy. rep(1:24, 365) But how do I get a series of 24 dates for O1 January 2005 and repeat this to 31 December 2005. It should be easy