Compute the posterior confusion matrix
Compute a nClusters x nClusters
posterior confusion matrix (PCM). The entry (i,j) represents the probability of a trajectory belonging to class i is assigned to class j under a given assignment strategy.
confusionMatrix(object, strategy = which.max, scale = TRUE)
object |
The object. |
strategy |
The trajectoryAssignments strategy to compute the PCM under.
If |
scale |
Whether to express the confusion in probabilities ( |
data(latrendData) model = latrend(lcMethodLcmmGMM( fixed = Y ~ Time, mixture = ~ Time, random = ~ 1, id = "Id", time = "Time"), data=latrendData) confusionMatrix(model)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.