Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.nloptr

Print results after running nloptr


Description

This function prints the nloptr object that holds the results from a minimization using nloptr.

Usage

## S3 method for class 'nloptr'
print(x, show.controls = TRUE, ...)

Arguments

x

object containing result from minimization.

show.controls

Logical or vector with indices. Should we show the value of the control variables in the solution? If show.controls is a vector with indices, it is used to select which control variables should be shown. This can be useful if the model contains a set of parameters of interest and a set of nuisance parameters that are not of immediate interest.

...

further arguments passed to or from other methods.

Author(s)

Jelmer Ypma

See Also


nloptr

R Interface to NLopt

v1.2.2.2
LGPL-3
Authors
Jelmer Ypma [aut, cre], Steven G. Johnson [aut] (author of the NLopt C library), Hans W. Borchers [ctb], Dirk Eddelbuettel [ctb], Brian Ripley [ctb] (build process on multiple OS), Kurt Hornik [ctb] (build process on multiple OS), Julien Chiquet [ctb], Avraham Adler [ctb] (removal deprecated calls from tests, <https://orcid.org/0000-0002-3039-0703>)
Initial release
2020-07-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.