[R] multiple variables Y and X
Rosario Garcia Gil
M.Rosario.Garcia at slu.se
Mon Apr 4 08:58:45 CEST 2011
I have a model with several hundred Y variables, and also several 1000 X variables. The model is linear lm(Y ~ X). My questions are:
1.- how to avoid writing all Xs variables? is list() the right function?
2.- about the multiple Ys with dependence among some of them, how to incorporate that information in the linear model?
More information about the R-help