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 =
TRUE) : invalid type (list) for variable 'Time1'
I cannot figure it out.

Keith




M. Keith Cox, Ph.D.
Principal
MKConsulting
17105 Glacier Hwy
Juneau, AK 99801
U.S. 907.957.4606

        [[alternative HTML version deleted]]

______________________________________________
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