Displaying 1 result from an estimated 1 matches for "variableswithout".
2006 Oct 08
3
can lm() automatically take in the independent variables without knowing the names in advance
Hello!
I am trying to use lm to do a simple regression but on a batch of
different files.
Each file has different column names.
I know the first column is the dependent variable and all the rest are
explanatory variables.
The column names are in the first line of the file.
But it seems lm() requires I know the variable names in advance?
Is there a way to dynamically read in variable names