Dear expeRts,
Today i used the pls package to do the PLSR, i don' t know if anyone happen to have the same problem as me, it is so strange, my problem is: when i used codes like: suppose data has 20 columns traindata <- data[ 1:10, 1:10] testdata <- data[11:15,1:10] pls.fit <- plsr(y~x, ncomp = 5, data = traindata, method= "simpls", scale = FALSE, model = TRUE, validation = "CV") ok, i get some result, the srange thing happens when i redo the plsr, i mean, i use traindata <- data[ 1:10, 1:20] testdata <- data[11:15,1:20] pls.fit <- plsr(y~x, ncomp = 5, data = traindata, method= "simpls", scale = FALSE, model = TRUE, validation = "CV") I get the same result as the first one!!! i explore it a lot, even restart my computer, but still the same, however i changed the data, the result is the same!! I think the pls package must write the result into some files, and read it back ~~ but i can't say~~ PLZ help me if you happen to know it -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.