R/grapes-projpred-grapes.R
grapes-projpred-grapes.RdThis function takes a data matrix a and, depending on the class of b, projects the data using feature weights, or predicts new values using linear discriminant analysis (LDA) model object, or both.
a %projpred% ba matrix with colnames specified
a matrix with rownames specified, or a lda model object, or a list containing a matrix and/or a lda model object.
matrix