Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

latrend (version 1.3.0)

clusterNames<-: Update the cluster names

Description

Update the cluster names

Usage

clusterNames(object) <- value

Arguments

object

The lcModel object to update.

value

The character with the new names.

Value

The updated lcModel object.

Examples

Run this code
# NOT RUN {
data(latrendData)
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
model <- latrend(method, latrendData, nClusters = 2)
clusterNames(model) <- c("Group 1", "Group 2")
# }

Run the code above in your browser using DataLab