Functions that users call directly

read_asap3_dat()

Read an ASAP3 .dat file into R

prepare_wham_input()

Prepare input data and parameters for WHAM model

fit_wham()

Fit WHAM model

check_convergence()

Check convergence of WHAM model

project_wham()

Project a fit WHAM model

plot_wham_output()

Plot WHAM output

compare_wham_models()

Compare multiple WHAM (or ASAP) models

make_osa_residuals()

Calculate one-step-ahead residuals

Helper functions and the like that users do not call

set_age_sel0()

Make one or more selectivity blocks with age-specific parameters

fit_tmb()

Fit TMB model using nlminb

fit_peel()

Fit model peeling off i years of data

retro()

Run retrospective analysis

retro_res()

Extract retrospective results for plotting

mohns_rho()

Calculate Mohn's rho for a WHAM model with peels

prepare_projection()

Prepare input data and parameters to project an already fit WHAM model

wham_html()

Create HTML file to view output plots in browser

read_asap3_fit()

Read ASAP3 fit

read_wham_fit()

Read WHAM fit

check_estimability()

Check for identifiability of fixed effects Originally provided by https://github.com/kaskr/TMB_contrib_R/TMBhelper Internal function called by fit_tmb.

extract_fixed()

Extract fixed effects Originally provided by https://github.com/kaskr/TMB_contrib_R/TMBhelper Internal function called by check_estimability.

%>%

Pipe function