outoptim: outoptim provides a sucinct summary of the optim solution

View source: R/datalow_utils.r

outoptimR Documentation

outoptim provides a sucinct summary of the optim solution

Description

outoptim provides a more succinct printout of the optim solution which only uses five lines on the screen rather than the standard print of the output list structure

Usage

outoptim(inopt)

Arguments

inopt

an object into which the output from optim is directed.

Value

nothing, but it does print the optim result to the console in five lines without the list structure

Examples

## Not run: 
data(fishdat)
bestL <- optim(c(14.0,0.3),aspmLL,method="Nelder-Mead",infish=fishdat$fish,
                inglb=fishdat$glb,inprops=fishdat$props,
                control=list(maxit=1000,parscale=c(10,0.1)))
outoptim(bestL)

## End(Not run)

haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.