powered by
Get the cluster names
clusterNames(object, factor = FALSE)
A character of the cluster names.
character
The lcModel object.
lcModel
Whether to return the cluster names as a factor.
data(latrendData) method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time") model <- latrend(method, latrendData) clusterNames(model) # A, B
Run the code above in your browser using DataLab