Takes the inputs and generates a named lcModels
object containing a list of the input models. Duplicates are preserved.
lcModels(...)
lcModel
, lcModels
, or a recursive list
of lcModel
objects. Arguments may be named.
A lcModels
object containing all specified lcModel
objects.
Other lcModel list functions:
as.lcModels()
,
print.lcModels()
,
subset.lcModels()
# NOT RUN {
data(latrendData)
kml <- latrend(lcMethodKML("Y", id = "Id", time = "Time"), latrendData)
gmm <- latrend(lcMethodLcmmGMM(fixed = Y ~ Time, mixture = ~ Time,
id = "Id", time = "Time"), latrendData)
lcModels(kml, gmm)
lcModels(defaults = c(kml, gmm))
# }
Run the code above in your browser using DataLab