search for: aschii

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

Did you mean: aschai
2006 Aug 31
3
predict.lm within a function
Hi I'm trying to wrap predict.lm within a function, but I'm having problems passing arguments into it in this way. Basically I want to create a lm object, then pass it into the predict.lm function and be able to tell predict.lm which variable I want to predict for, by passing the variable name as an argument of the wrapper function. This variable will always be a factor with 3 levels,