Learn R Programming

latrend (version 1.1.0)

update.lcModel: Update a lcModel

Description

Fit a new model with modified arguments from the current model.

Usage

# S3 method for lcModel
update(object, ...)

Arguments

object

The lcModel object.

...

Arguments passed on to latrend

method

The lcMethod object specifying the longitudinal cluster method to apply.

data

The data.frame or matrix to which to apply the method.

envir

The environment in which to evaluate the method arguments. Note that this only applies to data when data is a call.

verbose

The level of verbosity. Either an object of class Verbose (see R.utils::Verbose for details), a logical indicating whether to show basic computation information, a numeric indicating the verbosity level (see Verbose), or one of c('info', 'fine', 'finest').