powered by
Get the cluster names
clusterNames(object, factor = FALSE)
The lcModel object.
lcModel
Whether to return the cluster names as a factor.
A character of the cluster names.
character
# NOT RUN { 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