[Rd] predict.mlm: Error: Object "X" not found (PR#1049)
Sun, 12 Aug 2001 19:39:10 +0200 (MET DST)
predict.mlm fails with the error: Object "X" not found.
looking at the predict.mlm function, we have:
x <- model.matrix(object, newdata)
two lines later, we have:
pred <- X[, piv, drop=FALSE] %*% object$coefficients[piv,]
change the case of one of the x's, since it seems like what is meant in
the second line is lowercase x...
system: i686, linux-gnu
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: email@example.com