Cluster longitudinal data
Cluster longitudinal data
latrend(
method,
data,
...,
envir = NULL,
verbose = getOption("latrend.verbose")
)method |
The |
data |
The |
... |
Any other arguments to update the |
envir |
The |
verbose |
The level of verbosity. Either an object of class |
If a seed value is specified in the lcMethod object or arguments to latrend, this seed is set using set.seed prior to the cluster preparation step.
A lcModel object representing the fitted model.
Other longitudinal cluster fit functions:
latrendBatch(),
latrendBoot(),
latrendCV(),
latrendRep()
data(latrendData)
model <- latrend(lcMethodKML("Y", id = "Id", time = "Time"), data = latrendData)
method <- lcMethodKML("Y", id = "Id", time = "Time")
model <- latrend(method, data = latrendData, nClusters = 3)
model <- latrend(method, data = latrendData, nClusters = 3, seed = 1)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.