| Title: | Shiny App for the JABBA3 Bayesian Surplus Production Model |
|---|---|
| Description: | A step-by-step Shiny app for stock assessment with the JABBA3 Bayesian state-space surplus production model: load catch and abundance indices, derive priors and the production lag from life history, explore index agreement, fit and check the model, compare runs and ensembles, and project the stock with Kobe II matrices and harvest control rules. The app calls the JABBA3 functions, so every step can be repeated in a script. |
| Authors: | Henning Winker [aut, cre] |
| Maintainer: | Henning Winker <[email protected]> |
| License: | GPL (>= 3) |
| Version: | 0.2.0 |
| Built: | 2026-12-04 14:33:35 UTC |
| Source: | https://github.com/sschirico/JABBA3App |
Writes the csv templates that the app reads, with the Atlantic bigeye tuna example files, to a folder. The same files can be downloaded in the app's Setup step.
jabba3app_templates( dir = ".", which = c("all", "data", "life_history"), overwrite = FALSE )jabba3app_templates( dir = ".", which = c("all", "data", "life_history"), overwrite = FALSE )
dir |
Folder to write to (created). |
which |
|
overwrite |
Replace existing files. |
JABBA3_data_template.csv: blank data template, one row per record with
the columns year, type (Catch or Index), series, value and se
(log-scale standard error of an index value; may be blank).
JABBA3_example_data_bigeye.csv: Atlantic bigeye tuna (ICCAT), from the
iccat dataset in JABBA3.
JABBA3_life_history_template.csv: blank life-history template.
JABBA3_life_history_example_bigeye.csv: approximate bigeye biology from
the JABBA3 user guide (illustrative only).
The paths of the files written, invisibly.
jabba3app_templates(tempdir())jabba3app_templates(tempdir())
Opens the JABBA3 Shiny app: load catch and abundance indices, set the
priors from life history, choose the model settings, run and check the
model, compare runs and forecast, step by step in the left panel. The app
calls the JABBA3 functions, so everything done in the app can be repeated
in a script (see vignette("jabba3app-02-user-guide")).
run_app(...)run_app(...)
... |
passed to |
called for its side effect (runs the app).
if (interactive()) run_app()if (interactive()) run_app()