You have an object named "ozone" kicking around in your workspace/global
environment. This is apparently not of mode "numeric" and it is masking
the "ozone" object (column) from the attached data frame "test".
Simply doing ls() would have told you this.
Presumably you also got a warning about
On Oct 19, 2012, at 2:26 PM, Michael Grant wrote:
> New installation seems to have behavior I cannot figure out. Here is
> illustrative sequence where I load a small data set (test) from Crawley's
> files and try to run a simple linear model and get an error message. Oddly,
> R reports that
Hi Michael,
Try
fit <- lm(ozone~garden, data = test)
summary(fit)
See ?lm for more details.
HTH,
Jorge.-
On Sat, Oct 20, 2012 at 8:26 AM, Michael Grant <> wrote:
> New installation seems to have behavior I cannot figure out. Here is
> illustrative sequence where I load a small data set (tes
New installation seems to have behavior I cannot figure out. Here is
illustrative sequence where I load a small data set (test) from Crawley's files
and try to run a simple linear model and get an error message. Oddly, R
reports that the variable 'test$ozone' is numeric while, after attaching
4 matches
Mail list logo