I'm creating an ANOVA model. Is there a way to pull in consecutive columns of 
variables for the test?

Example:  aov1<-aov(y~x1+x2+REG[,2:num], data=REG)

I'm not looking for interaction effects, I just want to create a model for the 
first few columns of variables (exact number and names will vary) and a few 
other predetermined variables (in the example I named them x1 and x2).

Thanks in advance.
- Jacy


        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to