Dear Mike,
m.1<-procD.lm(coords~a*b*c, iter=9999, data=dat.full2, RRPP=FALSE, SS.type="III", print.progress=FALSE)
anova(m.1)
is working.
m.1<-procD.lm(coords~a*b+family, iter=9999, data=dat.full2, RRPP=FALSE, SS.type="III", print.progress=FALSE)
anova(m.1)
is working.
However,
m.1<-procD.lm(coords~a*b*c+family, iter=9999, data=dat.full2, RRPP=FALSE, SS.type="III", print.progress=FALSE)
anova(m.1)
does not work, and errors with:
ERROR:
'names' attribute [8] must be the same length as the vector [7]
If I run the same model with RRPP or procd.lm and RRPP=TRUE, then it gets truncated:
m.1<-procD.lm(coords~a*b*c+family, iter=9999, data=dat.full2, RRPP=TRUE, SS.type="III", print.progress=FALSE)
anova(m.1)
Warning: Because variables in the linear model are redundant,
the linear model design has been truncated (via QR decomposition).
Original X columns: 50
Final X columns (rank): 47
Check coefficients or degrees of freedom in ANOVA to see changes.
outputted effects: (note: a*b is missing!)
a
b
c
family
b*c
a*c
a*b*c
If I run:
m.1<-procD.lm(coords~a*b*c*family, iter=9999, data=dat.full2, RRPP=TRUE, SS.type="III", print.progress=FALSE)
anova(m.1)
WARNING: Because variables in the linear model are redundant,
the linear model design has been truncated (via QR decomposition).
Original X columns: 69
Final X columns (rank): 49
Check coefficients or degrees of freedom in ANOVA to see changes.
outputted effects: (note: a*b and c*family are missing!)
a
b
c
family
a*c
b*c
a*b*c