Re: [R] Environment error in the car package Anova.lme function

2015-02-24 Thread David Winsemius
On Feb 24, 2015, at 10:24 AM, William Randall Henner wrote: > When I call the Anova function on a lme object from inside a function > environment I get an error: > > Error in eval(expr, envir, enclos) : object 'y' not found > > > However, if I call the exact same code in the global environment

[R] Environment error in the car package Anova.lme function

2015-02-24 Thread William Randall Henner
When I call the Anova function on a lme object from inside a function environment I get an error: Error in eval(expr, envir, enclos) : object 'y' not found However, if I call the exact same code in the global environment there is no error. My theory is that for some reason the Anova.lme function