search for: mycoeff

Displaying 1 result from an estimated 1 matches for "mycoeff".

Did you mean: mycoef
2002 Jul 09
3
building formula objects
I want to write a function to take an argument as the response variable of a linear model, e.g. to do anova's across a list of variables, something like the following (except, of course, this doesn't work): function(x) { anova(lm(x ~ my.factor,data=my.data)) } The x in lm() above is getting evaluated at the wrong level. How can I make this work? -- Russell Senior ``The two