Re: [R] POSIXct extract time

2008-07-15 Thread stephen sefick
sorry this should work On Tue, Jul 15, 2008 at 3:50 PM, stephen sefick <[EMAIL PROTECTED]> wrote: RM215 <- matrix(c(-82.1461363, 33.5959109), nrow=1) > RM215.sp <- SpatialPoints(RM215, proj4string=CRS("+proj=longlat > +datum=WGS84")) > d060101 <- as.POSIXct("2006-01-01", tz="EST") > study_seq <- s

Re: [R] POSIXct extract time

2008-07-15 Thread Henrique Dallazuanna
Try this: format(down.215$time, "%H:%M:%S") On Tue, Jul 15, 2008 at 4:50 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > RM215.sp <- SpatialPoints(RM215, proj4string=CRS("+proj=longlat > +datum=WGS84")) > d060101 <- as.POSIXct("2006-01-01", tz="EST") > study_seq <- seq(from=d060101, length.out=76

[R] POSIXct extract time

2008-07-15 Thread stephen sefick
RM215.sp <- SpatialPoints(RM215, proj4string=CRS("+proj=longlat +datum=WGS84")) d060101 <- as.POSIXct("2006-01-01", tz="EST") study_seq <- seq(from=d060101, length.out=761, by="days") up.215 <- sunriset(RM215.sp, study_seq, direction="sunrise", POSIXct.out=TRUE) down.215 <- sunriset(RM215.sp, study