getOptim: Optimization results

getOptimR Documentation

Optimization results

Description

Extracts the optimization results from a model.

Usage

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

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

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

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

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

Arguments

object

An object that contains the optimization results.

...

Further arguments passed to methods.

Value

A list with the following optimization results:

  • par A numeric vector of the parameter value. See the documentation of EL and CEL.

  • lambda A numeric vector of the Lagrange multipliers.

  • iterations A single integer for the number of iterations performed.

  • convergence A single logical for the convergence status.

See Also

EL, ELT, sigTests()

Examples

data("precip")
fit <- el_mean(precip, par = 40)
getOptim(fit)

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