Skip to content
Prev 12359 / 398502 Next

Addition to: lm weights

On Mon, 16 Jul 2001, Christian Hoffmann wrote:

            
Right, as they are not in the scope of re-fitting the model.
Why are you not using

lm1 <- lm(form,data=xx,weights=wt)

anyway?
Put them in the data frame (but they are already there if accessed
sensibly), and in S-PLUS, put the data frame in frame 1.