Learn R Programming

melt (version 1.11.3)

conv: Convergence check

Description

Extracts the convergence status from a model.

Usage

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

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

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

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

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

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

Value

A single logical.

Arguments

object

An object that contains the convergence status.

...

Further arguments passed to methods.

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

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

Run the code above in your browser using DataLab