[R] convert time series to data.frame
Jeffrey Robert Spies
jspies at nd.edu
Mon Oct 1 06:38:39 CEST 2007
Can you send a small subset of the data as an example and the
function call you used to read the data in originally? It might be
helpful in understanding why you're losing the "time element".
On Oct 1, 2007, at 12:27 AM, Edna Bell wrote:
> Dear R gurus
> I would like to take a monthly time series and convert it to a data
> frame without losing the tsp items, pleae
> I've tried as.data.frame and data.frame but I get the series without
> the time element.
> Any suggestions, please?
> Edna Bell
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help