Learn R Programming

latrend (version 1.2.1)

deviance.lcModel: lcModel deviance

Description

Get the deviance of the fitted lcModel object.

Usage

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

Arguments

object

The lcModel object.

...

Additional arguments.

Value

A numeric with the deviance value. If unavailable, NA is returned.

Details

The default implementation checks for the existence of the deviance() function for the internal model, and returns the output, if available.

See Also

stats::deviance metric

Other model-specific methods: clusterTrajectories(), coef.lcModel(), converged(), df.residual.lcModel(), fitted.lcModel(), fittedTrajectories(), lcModel-class, logLik.lcModel(), model.frame.lcModel(), nobs.lcModel(), postprob(), predict.lcModel(), predictAssignments(), predictForCluster(), predictPostprob(), residuals.lcModel(), sigma.lcModel(), time.lcModel()