Displaying 1 result from an estimated 1 matches for "tp21816422p21816422".
2009 Feb 03
0
lm function
...<-lm(TS~factor(D)+log(BodyWt)-1,data=sleep2)
#general
mod4<-lm(TS~factor(D)+log(BodyWt):factor(D)-1,data=sleep2)
TS is the dependent variable, log(bodyWt) is a covariate and D is either 1
or 2, depending in the case.
Thanks
--
View this message in context: http://www.nabble.com/lm-function-tp21816422p21816422.html
Sent from the R help mailing list archive at Nabble.com.