Re: [R] Time series and lm

2013-12-17 Thread William Dunlap
ire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Marlin Keith Cox > Sent: Tuesday, December 17, 2013 12:49 PM > To: r-help@r-project.org > Subject: [R] Time series and lm

[R] Time series and lm

2013-12-17 Thread Marlin Keith Cox
Hello all, I have a time series defined by chum$Time1<-as.POSIXlt(chum$Time, format= "%m/%d/%y %H:%M") and a measured parameter pa.s When I create a linear model with(chum.skin, lm(Time1~pa.s)) I get the following error. Error in model.frame.default(formula = Time1 ~ pa.s, drop.unused.levels