Rerun_Fn | R Documentation |
Rerun_Fn
re-builds a model while fixing a subset of parameters at zero
Rerun_Fn(
parhat0,
turnoff_pars,
loc_x,
cov_to_turnoff = 1:dim(parhat0[["gamma2_ctp"]])[3],
calculate_COG = TRUE,
figname = NULL,
Map = "generate",
MapDetails_List = NULL,
year_set = 1:ncol(parhat0[["beta1_ct"]]),
c_set = 1:nrow(parhat0[["beta1_ct"]]),
...
)
parhat0 |
parameter values to use by default (presumably maximum-likelihood estimates) |
turnoff_pars |
character-vector of parameters to turn off |
loc_x |
location for each knot used to calculate center-of-gravity for counter-factual runs with colnames c('E_km','N_km','Lon','Lat') |
cov_to_turnoff |
which covariates to turn off, as indicated by their order in |
calculate_COG |
Boolean whether to calculate COG for each run |
figname |
name for figure to plot density in counter-factual scenario |
Map |
a tagged list of parameters to either mirror or turn off, using standard TMB interface.
This input is useful, e.g., to build a model without estimating parameters, extracting Map
from the list of outputs, modifying it manually, and then passing it explicitly, |
MapDetails_List |
output from |
year_set |
set of parameters to include |
c_set |
set of categories to include |
... |
additional arguments passed to |
Tagged list
Report output for counter-factual run
Output from Build_TMB_Fn
using counter-factual parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.