Displaying 1 result from an estimated 1 matches for "tadl1".
Did you mean:
table
2008 Apr 01
1
lrm -interaction without main effect-error message
Dear all,
this might be not only an R-question but also a statistical.
When I do a logistic regression analysis (species distribution modeling)
with function lrm (Design package) I get the follwoing error message:
> tadl1<-lrm(triad~fd+dista+fd2+dista2+fd:dista+dista:geo2, x=T, y=T)
Error in if (!length(fname) || !any(fname == zname)) { :
missing value where TRUE/FALSE needed
The problem seems to be that geo2 (factor variable with 3 levels) is not
included as main effect. But when I run the same model with...