David Winsemius wrote:
>
>
> ...
>
> Perhaps:
>
> by(data2, data2$grp, function(x) step(lm(model, data=x)))
>
>
> David Winsemius, MD
> Heritage Laboratories
> West Hartford, CT
>
>
Perhaps .... ;) You know of course that this worked. It took a moment to
understand the screen output because each case gets dumped one after the
other but finding the string "Start:" cleared up the confusion. Thanks for
the solution.
--
View this message in context:
http://www.nabble.com/Error-when-using-step-tp24142487p24158617.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.