clusterNames<- {latrend} | R Documentation |
Update the cluster names
Description
Update the cluster names
Usage
clusterNames(object) <- value
Arguments
object |
The |
value |
The |
Value
The updated lcModel
object.
Examples
data(latrendData)
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
model <- latrend(method, latrendData, nClusters = 2)
clusterNames(model) <- c("Group 1", "Group 2")
[Package latrend version 1.6.1 Index]