Model and Submodels Functions

Functions used as to run submodels/models

BTSPAS-X

Functions to run BTSPAS-X

bt_spas_x_bugs()

Execute BT-SPAS-X in WinBUGs

run_single_bt_spas_x()

Call BT-SPAS-X on a single site/run year combination

run_multiple_bt_spas_x()

Call BT-SPAS-X model on all site/run years

P2S

Functions to run P2S

run_passage_to_spawner_model()

Run Passage to Spawner (P2S) STAN Model

Survival

Functions to run Survival Model

run_survival_model()

Call Survival Model

Model Results

Data objsects produced by models

P2S_model_fits

Passage to Spawner Parameter Estimates

P2S_comparison_results

Passage to Spawner Covariate Comparison results

Model Data

Additional data beyons SRJPEdata needed to run model

bt_spas_x_bayes_params

BT-SPAS-X BUGS parameters

Helper Functions

Functions used as to generate model data / format model outputs

get_bt_spas_x_data_list()

Prepare Data Object for BT-SPAS-X WinBUGs call

get_predicted_spawners_from_P2S()

Extract Predicted Spawners from P2S Model

compare_P2S_model_covariates()

Compare Environmental Covariates in Passage to Spawner (P2S) Model

compare_P2S_covariates_within_stream()

Compare Environmental Covariates in Passage to Spawner (P2S) Model Within a Stream

extract_bt_spas_x_results()

Extract results from BT-SPAS-X bugs object

get_hyper_distribution_parameter_estimates()

Extract hyper-distribution parameters from BT-SPAS-X

get_weekly_juvenile_abundance()

Extract weekly juvenile abundance

get_weekly_trap_efficiency()

Extract weekly trap efficiency from BT-SPAS-X object