update.lcModel | R Documentation |
Fit a new model with modified arguments from the current model.
## S3 method for class 'lcModel'
update(object, ...)
object |
The |
... |
Arguments passed on to
|
The refitted lcModel
object, of the same type as the object
argument.
latrend getCall
data(latrendData)
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
model2 <- latrend(method, latrendData, nClusters = 2)
# fit for a different number of clusters
model3 <- update(model2, nClusters = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.