[R] Large number of Y and X variables

From: Rosario Garcia Gil <M.Rosario.Garcia_at_slu.se>
Date: Fri, 01 Apr 2011 15:43:31 +0200


I have two issues

  1. I have a linear model with several thousands of Y and X variables, so if I do not want to write them down one by one in the lm(Y ~ X) model how should I go about it.
  2. Also, if I suspect that some of the Y variables could not be independent, what function should I apply?


R-help_at_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. Received on Fri 01 Apr 2011 - 13:57:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 01 Apr 2011 - 14:00:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive