Learn R Programming

R2admb (version 0.7.10)

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)

Arguments

admbfile
base name of admb project

Value

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