grapes-projpred-grapes: Project and/or predict data using feature weights or a LDA...

%projpred%R Documentation

Project and/or predict data using feature weights or a LDA model object

Description

This 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.

Usage

a %projpred% b

Arguments

a

a matrix with colnames specified

b

a matrix with rownames specified, or a lda model object, or a list containing a matrix and/or a lda model object.

Value

matrix


MarioniLab/StabMap documentation built on Sept. 28, 2022, 2:28 a.m.