[R] Time Series Data
ggrothendieck at gmail.com
Mon Oct 19 22:17:57 CEST 2009
If you convert your dates to an object d of Date class then
as.numeric(d) will be the number of days since the Epoch. See R News
On Mon, Oct 19, 2009 at 2:20 PM, Marlin Keith Cox <marlinkcox at gmail.com> wrote:
> Hi all and thanks in advance.
> I am regressing Time and Weight, and then predicting Weight at
> different Time. The format of the Time data is day/month/year. How
> can I get R to use time series data such as this?
> M. Keith Cox, Ph.D.
> Alaska NOAA Fisheries, National Marine Fisheries Service
> Auke Bay Laboratories
> 17109 Pt. Lena Loop Rd.
> Juneau, AK 99801
> Keith.Cox at noaa.gov
> marlinkcox at gmail.com
> U.S. (907) 789-6603
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help