lcModels | R Documentation |
lcModel
objectsA general overview of the lcModels class can be found here.
The lcModels()
function creates a flat (named) list of lcModel
objects. Duplicates are preserved.
lcModels(...)
... |
|
A lcModels
object containing all specified lcModel
objects.
Print an argument summary for each of the models.
Convert to a data.frame
of method arguments.
Subset the list.
Compute an internal metric or external metric.
Obtain the best model according to minimizing or maximizing a metric.
Obtain the summed estimation time.
Plot a metric across a variable.
Plot the cluster trajectories.
Other lcModels functions:
as.lcModels()
,
lcModels-class
,
max.lcModels()
,
min.lcModels()
,
plotMetric()
,
print.lcModels()
,
subset.lcModels()
lmkmMethod <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
lmkmModel <- latrend(lmkmMethod, latrendData)
rngMethod <- lcMethodRandom("Y", id = "Id", time = "Time")
rngModel <- latrend(rngMethod, latrendData)
lcModels(lmkmModel, rngModel)
lcModels(defaults = c(lmkmModel, rngModel))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.