Skip to content

How to make a time series object from a data frame containing dates.

3 messages · Lane, Jim, stephen sefick, Gabor Grothendieck

#
look at the zoo package where there are quite a few functions to help with this.

Stephen Sefick
On Wed, Apr 22, 2009 at 11:09 AM, Lane, Jim <jim.lane at rbc.com> wrote:

  
    
#
In particular,

library(zoo)
z <- zoo(x$alloc_gb, x$month)
plot(z)

See the three zoo vignettes
vignette(package = zoo) # to list them
vignette("zoo") # to show first one

and the help files

library(help = zoo)
?zoo
On Wed, Apr 22, 2009 at 1:07 PM, stephen sefick <ssefick at gmail.com> wrote: