predict.ldaDMP: Predict function for 'ldaDMP' method

predict.ldaDMPR Documentation

Predict function for 'ldaDMP' method

Description

Predict using a LDA model built with function evaluateDIMPclass

Usage

predict.ldaDMP(
  object,
  newdata,
  type = c("class", "posterior", "scores", "lda.pred"),
  ...
)

Arguments

object

To use with function 'predict'. An object from class 'ldaDMP'

newdata

To use with function 'predict'. New data for classification prediction

type

To use with function 'predict'. The type of prediction required. The default is "all" basic predictions: classes and posterior classification probabilities. Option "lda.pred" returns the object given by function 'predict.lda' from MASS package: 'class', 'posterior', 'scores' (cases scores on discriminant variables, see lda.

...

arguments passed to or from other methods.

See Also

estimateCutPoint, lda


genomaths/MethylIT documentation built on Feb. 3, 2024, 1:24 a.m.