From john.holena@reverecapital.com  Sun Aug 12 18:39:10 2001
From: john.holena@reverecapital.com (john.holena@reverecapital.com)
Date: Sun, 12 Aug 2001 19:39:10 +0200 (MET DST)
Subject: [Rd] predict.mlm: Error: Object "X" not found (PR#1049)
Message-ID: <200108121739.TAA06257@pubhealth.ku.dk>

predict.mlm fails with the error: Object "X" not found.

CAUSE:
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,]


SOLUTION(?):
change the case of one of the x's, since it seems like what is meant in 
the second line is lowercase x...







platform: i686-pc-linux-gnu
arch: i686
os: linux-gnu
system: i686, linux-gnu
status
major 1
minor 3.0
year 2001
month 06
day 22
language R





-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] predict.mlm: Error: Object "X" not found (PR#1049)
john.holena@reverecapital.com