search for: myregressor

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

Did you mean: myregressors
2009 Feb 12
2
beginner's question: group of regressors by name vector?
dear r-experts: there is probably a very easy way to do it, but it eludes me right now. I have a large data frame with, say, 26 columns named "a" through "z". I would like to define "sets of regressors" from this data frame. something like myregressors=c("b", "j", "x") lm( l ~ myregressors, data=... ) is the best way to create new data frames that contain all the variables I want, then use ".", and then destroy them again? or am I overlooking something obvious? sincerely, /iaw [[alternative HTML v...