[R] R-1.9.0: Error in paste(ncomp, "LV's") : Argument "ncomp" is missing, with no default

ryszard.czerminski@pharma.novartis.com ryszard.czerminski at pharma.novartis.com
Thu May 27 20:11:26 CEST 2004


Is it just my installation or bug in 1.9.0 ?
The same thing works fine in 1.8.1

Best regards,

Ryszard

# R-1.9.0
library(pls.pcr)
nr <- 8; ndim <- 2
x <- matrix(rnorm(nr*ndim), nrow=nr)
y <- as.matrix(x[,1])
for (i in 2:ndim) y <- y + x[,i]
y <- y + rnorm(length(y))
m <- pls(x,y,validation='CV')
# Error in paste(ncomp, "LV's") : Argument "ncomp" is missing, with no 
default




More information about the R-help mailing list