[R] Chron object in time series plot

Gabor Grothendieck ggrothendieck at gmail.com
Wed Oct 27 14:11:50 CEST 2010


On Wed, Oct 27, 2010 at 8:04 AM, Manta <mantino84 at libero.it> wrote:
>
> Here it is:
>
> dput(temp_plot)
> structure(c(48608, 46686, 55216, 59268, 50967, 55067, 57783,
> 60021, 61480, 63853, 58267, 72442, 63926, 49102, 74320, 63433,
> 66256, 68483, 67736, 60507, 60888, 78008, 64326, 65665, 57288,
...
>    1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L)), .Names =
> c("sec",
> "min", "hour", "mday", "mon", "year", "wday", "yday", "isdst"
> ), class = c("POSIXt", "POSIXlt")), class = "zoo")

"POSIXlt" is not supported.  You could use "POSIXct" but since this
series is based on dates you really should be using "Date" class.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list