[R] LM/two way analysis/classic parametrisation

kfl klausflemloese at mail.tele.dk
Sun Jun 5 17:01:30 CEST 2011


Thank you for your reply. 

However, I don't undestand what your are telling me. 

I would be pleased if you could give me the synstax in the following
examples:

#Exampel page side 372
trt<-gl(3,4,12,labels=c("T1","T2","T3"))
blk<-gl(4,1,12,labels=c("B1","B2","B3","B4"))
res<-c(13,7,9,3,6,6,3,1,11,5,15,5)
p372<-data.frame(trt,blk,res)
attach(p372)

model<-lm(res~trt+blk)
summary(model)
anova(model)
model.matrix(model)

I want to have a print from the classic parametrisation 

What should be added in the model statement ?


--
View this message in context: http://r.789695.n4.nabble.com/LM-two-way-analysis-classic-parametrisation-tp3573453p3575143.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list