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) model <- latrend(lcMethodKML("Y", id = "Id", time = "Time"), latrendData) clusterNames(model) # A, B # }
Run the code above in your browser using DataLab