A catch-survey simulator in which the true catch is known. A simulated island fishery is sampled with a multi-stage landing-site survey, raised to catch per species and fleet segment, and judged against the truth over many repeats.
Island X and the multi-stage design follow the FAO training concept by Pedro Barros (Data Collection and Estimation of Fisheries Quantities). Package by Henning Winker and Pedro Barros.
The app only collects inputs and calls these functions, so everything done in the app can be repeated in a script. Pick a layer to see what goes in, what comes out, and what it looks like on Island X.
library(casimir) fish <- cas_fishery(island_x(), seed = 1) # the island and its true landings d <- cas_design(m = 6, n = 3, w_kg = 10) # 6 site-days per site type and quarter s <- draw_sample(fish, d, seed = 2) # field forms A, B, C e <- estimate_catch(s) # catch per species with intervals catch_by(e, by = "segment", fishery = fish) # by fleet segment, against the truth ev <- replicate_design(fish, d, R = 1000) # bias, CV and coverage over repeats sv <- run_survey(fish, d) # a five-year programme run_app() # the same steps in the Shiny app
Install with remotes::install_github("Henning-Winker/cpueTargeting@landing-sites") and remotes::install_github("Henning-Winker/casimir"). Source: github.com/Henning-Winker/casimir.
| Layer | Trainee (Hide truth ticked) | Trainer |
|---|