clusterProportions: Proportional size of each cluster
Description
Obtain the proportional size per cluster, with sizes between 0 and 1.
By default, the cluster proportions are determined from the cluster-averaged posterior probabilities of the fitted data (as computed by the postprob() function).
Usage
# S4 method for lcModel
clusterProportions(object, ...)
# NOT RUN {data(latrendData)
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
model <- latrend(method, latrendData, nClusters = 2)
clusterProportions(model)
# }