predict.ldaDMP | R Documentation |
Predict using a LDA model built with function
evaluateDIMPclass
predict.ldaDMP(
object,
newdata,
type = c("class", "posterior", "scores", "lda.pred"),
...
)
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 |
... |
arguments passed to or from other methods. |
estimateCutPoint
, lda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.