Re: [R] constructing a sequence of POSIXct dates

2014-04-21 Thread Michael Weylandt
On Apr 21, 2014, at 10:55, Erin Hodgess wrote: > Never mindsolved it xkcd.com/979/ > > > On Mon, Apr 21, 2014 at 9:48 AM, Erin Hodgess wrote: > >> Hello! >> >> I have the following: >> >>> time1a <- as.POSIXct(paste(2008,08,01,sep="-")) >>> time1b <- as.POSIXct(paste(2008,08,11,sep=

Re: [R] constructing a sequence of POSIXct dates

2014-04-21 Thread Erin Hodgess
Never mindsolved it On Mon, Apr 21, 2014 at 9:48 AM, Erin Hodgess wrote: > Hello! > > I have the following: > > > time1a <- as.POSIXct(paste(2008,08,01,sep="-")) > > time1b <- as.POSIXct(paste(2008,08,11,sep="-")) > > time1a > [1] "2008-08-01 CDT" > > time1b > [1] "2008-08-11 CDT" > > time1c

[R] constructing a sequence of POSIXct dates

2014-04-21 Thread Erin Hodgess
Hello! I have the following: > time1a <- as.POSIXct(paste(2008,08,01,sep="-")) > time1b <- as.POSIXct(paste(2008,08,11,sep="-")) > time1a [1] "2008-08-01 CDT" > time1b [1] "2008-08-11 CDT" > time1c <- seq(from=as.POSIXct(time1a),to=as.POSIXct(time1b),by="days") > class(time1c) [1] "POSIXct" "POSI