Learn R Programming

R2admb (version 0.7.16.3)

extract_gradient: Extract gradients

Description

Extract gradient values from last iteration of screen output and return dataframe with variable names, values and gradient, sorted in order of ascending absolute value of the gradient.

Usage

extract_gradient(admbfile)

Value

a dataframe with 3 columns var=variable name, value= final parameter value, gradient= gradient value

Arguments

admbfile

base name of admb project

Author

Jeff Laake