fitted.mmlcr {mmlcr}R Documentation

Extract mmlcr Model Component Fitted or Residual Values

Description

Extract fitted or residual values from components of a mmlcr object.

Usage

fitted.mmlcr(object, which = 1:length(object$components), ...)
residuals.mmlcr(object, which = 1:length(object$components), ...)

Arguments

object Fitted mmlcr object.
which Which components to extract fit or residuals from
... Included for compatibility with generic functions.

Details

For each observation in a component, the fit is the weighted mean of the fits from the individual class fits. The weights are the posterior class membership probabilities.

Value

A list, with a vector of fits or residuals for each component in which.

WARNING

Although the function works on multinom components, the results are not meaningful.


[Package mmlcr version 1.3.5 Index]