Skip to content

problem in predict.lm(type="terms", terms=someNames, interval="confidence", ...)

1 message · William Dunlap

#
R's predict.lm() fails when trying to compute
term-wise confidence (or prediction) intervals
for a subset of the terms in a model:
fac=rep(LETTERS[11:13],c(3,3,4)))
newdata=dat[7:5,])
interval="confidence", newdata=dat[7:5,])Error in predictor + hwid :
non-conformable arrays
function(x)if(is.matrix(x)) structure(x[, c("x","fac")],
constant=attr(x, "constant")) else x)


Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com