Toby Gass <tobygass <at> warnercnr.colostate.edu> writes:

> I am working with a dataframe that includes a column, "calendar", 
> used for plotting time series.

  [snip]

> Is this unavoidable when going back and forth from a .csv, or can I 
> do something differently to retain the class?

  check out colClasses under ?read.table (of which read.csv is 
a special case) -- "POSIXct" is an option here.  

  Ben Bolker

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to