Re: [R] How to make a time series object from a data frame containing dates.

2009-04-22 Thread Gabor Grothendieck
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 wrote: > look at the zoo packag

Re: [R] How to make a time series object from a data frame containing dates.

2009-04-22 Thread stephen sefick
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 wrote: > Hi, All > > I have a data frame like this. > >> names(x) > [1] "month"    "alloc_gb" > > One of the columns contains the dates I want to use: > >>