Perform a PLS discriminant analysis
.pls(X, Y, nc, cv = TRUE, nr_folds = 5)a matrix of predictor variables.
a single vector indicate the group
the number of pls components .
logical indicating whether cross-validation will be performed or not (suggest TRUE).
nr_folds Integer to indicate the folds for cross validation. @return list with PLS results