apply_epsilon: Custom epsilon-correct method

View source: R/apply_epsilon.R

apply_epsilonR Documentation

Custom epsilon-correct method

Description

apply_epsilon uses updates to TMB to implement a faster calculation for epsilon-correction

Usage

apply_epsilon(
  fit,
  ADREPORT_name = "Index_ctl",
  eps_name = "eps_Index_ctl",
  inner.control = list(sparse = TRUE, lowrank = TRUE, trace = FALSE)
)

Arguments

fit

output from fit_model, specifically using slotes tmb_list, input_args, parameter_estimates$SD

ADREPORT_name

string indicating name of ADREPORT'ed variable

eps_name

string indicating name of PARAMETER used internally by TMB for calculating desired gradient

inner.control

List controlling inner optimization.

Value

Standard output from sdreport, but with slot x$unbiased added if needed, and adding or replacing values for x$unbiased$value corresponding to ADREPORT_name


James-Thorson/VAST documentation built on July 18, 2024, 4:27 a.m.