Re: [R] help: pls package

2005-07-22 Thread Bjørn-Helge Mevik
wu sz writes: trainSet = as.data.frame(scale(trainSet, center = T, scale = T)) trainSet.plsr = mvr(formula, ncomp = 14, data = trainSet, method = kernelpls, CV = TRUE, validation = LOO, model = TRUE, x = TRUE, y = TRUE) [Two side notes here: 1)

[R] help: pls package

2005-07-21 Thread wu sz
Hello, I have a data set with 15 variables (first one is the response) and 1200 observations. Now I use pls package to do the plsr with cross validation as below. trainSet = as.data.frame(scale(trainSet, center = T, scale = T)) trainSet.plsr = mvr(formula, ncomp = 14, data = trainSet, method =

[R] help: pls package

2005-07-21 Thread wu sz
Hello, I have a data set with 15 variables (first one is the response) and 1200 observations. Now I use pls package to do the plsr with cross validation as below. trainSet = as.data.frame(scale(trainSet, center = T, scale = T)) trainSet.plsr = mvr(formula, ncomp = 14, data = trainSet, method =