powered by
myPLSDA(x, y, save, select, ...)
plsr
x <- matrix(rnorm(1000),nrow = 10,ncol = 100) y <- rep(0:1,5) res <- myPLSDA(x,y,save=TRUE,ncomp=2,validation="CV",k=7, method="oscorespls")
Run the code above in your browser using DataLab