Skip to content
Prev 132832 / 398502 Next

Help with lm and multiple linear regression? (Plain Text version)

consider merging everything into a singe dataframe.  i haven't tried
it, but something like the following could work:
the idea here is that by specifying the data frame with the data
argument in lm, R looks for the columns of the names specified in the
formula.

for weights, see ?lm and look for the weights argument.

cheers,
tc
On Dec 28, 2007 10:22 AM, Aaron Barzilai <aaron_barzilai at yahoo.com> wrote: