conv: Convergence check

convR Documentation

Convergence check

Description

Extracts the convergence status from a model.

Usage

## S4 method for signature 'CEL'
conv(object, ...)

## S4 method for signature 'EL'
conv(object, ...)

## S4 method for signature 'ELT'
conv(object, ...)

## S4 method for signature 'SummaryEL'
conv(object, ...)

## S4 method for signature 'SummaryELT'
conv(object, ...)

## S4 method for signature 'SummaryLM'
conv(object, ...)

Arguments

object

An object that contains the convergence status.

...

Further arguments passed to methods.

Value

A single logical.

Methods (by class)

  • conv(CEL): Extracts the convergence status of the model with respect to the parameter.

  • conv(EL): Extracts the convergence status of the model with respect to the Lagrange multiplier.

  • conv(ELT): Extracts the convergence status of the test with respect to the parameter (or the Lagrange multiplier if the argument lhs is NULL).

  • conv(SummaryEL): Extracts the convergence status of the model with respect to the Lagrange multiplier.

  • conv(SummaryELT): Extracts the convergence status of the test with respect to the parameter (or the Lagrange multiplier if the argument lhs is NULL).

  • conv(SummaryLM): Extracts the convergence status of the model. See the documentation of EL and CEL.

See Also

CEL, EL, ELT, getOptim()

Examples

## Convergence check for the overall model test
data("mtcars")
fit <- el_lm(mpg ~ ., data = mtcars)
conv(fit)

melt documentation built on May 31, 2023, 7:12 p.m.