Learn R Programming

transport (version 0.15-4)

ret_message: Return Text Strings for lbfgs Return Codes

Description

Given a vector of return codes, give back the corresponding vector of return strings from the lbfgs library. Nonexistant codes are ignored.

Usage

ret_message(n = NULL)

Value

A named character vector of the corresponding return strings.

Arguments

n

The vector of return codes or NULL meaning the whole list shall be returned.

Author

Dominic Schuhmacher schuhmacher@math.uni-goettingen.de

See Also

semidiscrete1.

Examples

Run this code
ret_message()
ret_message(c(2,-1023,-1019))

Run the code above in your browser using DataLab