[R] Very confused with class
Mark Lyman
mark.lyman at atk.com
Thu Aug 21 17:00:40 CEST 2008
Williams, Robin <robin.williams <at> metoffice.gov.uk> writes:
>
> Hi all,
> I am very confused with class.
> I am looking at some weather data which I want to use as explanatory
> variables in an lm. R has treated these variables as factors (i.e. with
> different levels), whereas I want them treated as discretely measured
> continuous variables.
The short answer to your problem can be found in the documentation for factor,
particularly in the "Warning" section.
?factor
Mark
More information about the R-help
mailing list