predict {VarSelLCM} | R Documentation |
Prediction of the cluster memberships
Description
This function gives the probabilities of classification for new observations by using the mixture model fit with the function VarSelCluster
.
Usage
## S4 method for signature 'VSLCMresults'
predict(object, newdata, type = "probability")
Arguments
object |
instance of |
newdata |
data.frame of the observations to classify. |
type |
the type of prediction: probability of classification (probability) or the partition (partition) |
Value
Returns a matrix of the probabilities of classification.
[Package VarSelLCM version 2.1.3.1 Index]