clusterNames-set: Update the cluster names

clusterNames<-R Documentation

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

data(latrendData)
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
model <- latrend(method, latrendData, nClusters = 2)
clusterNames(model) <- c("Group 1", "Group 2")

latrend documentation built on March 31, 2023, 5:45 p.m.