Displaying 1 result from an estimated 1 matches for "mlmfitg".
Did you mean:
mlmfit
2009 May 22
1
anova leads to an error
Dear R-list,
the following code had been running well over the last months:
exam <- matrix(rnorm(100,0,1), 10, 10)
gg <- factor(c(rep("A", 5), rep("B", 5)))
mlmfit <- lm(exam ~ 1); mlmfitG <- lm(exam ~ gg)
result <- anova(mlmfitG, mlmfit, X=~0, M=~1)
Until, all of a sudden the following error occured:
Fehler in apply(abs(sapply(deltassd, function(X) diag((T %*% X %*%
t(T))))), :
dim(X) must have a positive length
I have not kept track of the changes in my R-versio...