Learn R Programming

melt (version 1.11.3)

getOptim: Optimization results

Description

Extracts the optimization results from a model.

Usage

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

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

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

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

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

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.

Arguments

object

An object that contains the optimization results.

...

Further arguments passed to methods.

See Also

EL, ELT, sigTests()

Examples

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

Run the code above in your browser using DataLab