optansout: Output tool for answers from optimx

Description Usage Arguments Details Value

View source: R/optansout.R

Description

The optimx general-purpose optimization wrapper function that calls other R tools for optimization, including the existing optim() function creates a data frame of results. optansout displays this data frame and optionally saves it in text form to a file. The parameter vectors, which may be very long, are summarized by the first 5 parameters if there are more than 5.

This routine has also been added to other optimization packages for convenience in output of optimization results.

Usage

1
optansout(ansdf, filename)

Arguments

ansdf

A dataframe of results from an optimx run

filename

A properly qualified filename where text data is to be saved. If NULL output is only to the terminal.

Details

None

Value

optansout always returns TRUE.


optplus documentation built on May 2, 2019, 6:48 p.m.