I'd like to perform classification with plsda and use the caret::train function to take care of the cross validation. I see that plsda is included in caret, but the example doesn't show it used with train. Instead the train and test sets are hardcoded once. When I try to include method = plsrda
in caret::train I get
Error: Model plsda is not in caret's built-in library
I know one option is to code a cross-validated plsda myself, but I'd really like to just throw it into caret::train. Is this possible?