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")

philips-software/latrend documentation built on Jan. 9, 2025, 4:33 p.m.