R/returnCode.R

Defines functions returnCode.maxLik returnCode.maxim returnCode.default returnCode

Documented in returnCode returnCode.default returnCode.maxim returnCode.maxLik

### Returns return code of maxim objects
### This is tells either error, or other cause the iterations ended,
### such as the result converged

returnCode <- function(x, ...)
    UseMethod("returnCode")

returnCode.default <- function(x, ...)
    x$returnCode

returnCode.maxim <- function(x, ...)
    x$code

returnCode.maxLik <- function(x, ...)
    x$code

Try the maxLik package in your browser

Any scripts or data that you put into this service are public.

maxLik documentation built on Nov. 25, 2020, 3 a.m.