Package: casimir 0.0.2

Henning Winker

casimir: Catch Sampling Inference Methods in R

A catch estimator simulator for training in multi-stage landing-site surveys (catch assessment surveys). A spatial multispecies fishery with landing sites, fishing ranges by segment and a calendar (the logbook simulator of 'cpueTargeting') provides the true landings. Trainees design a stratified multi-stage survey (landing site x day, landings, species subsamples), draw samples with optional planted field artefacts, raise them to catch per species with the estimators of the FAO training, and compare designs by bias, precision and cost over replicates. Includes a 'shiny' app with a hide-truth switch for trainers.

Authors:Henning Winker [aut, cre], Pedro Barros [aut]

casimir_0.0.2.tar.gz
casimir_0.0.2.zip(r-4.7-any)casimir_0.0.2.zip(r-4.6-any)casimir_0.0.2.zip(r-4.5-any)
casimir_0.0.2.tgz(r-4.6-any)casimir_0.0.2.tgz(r-4.5-any)
casimir_0.0.2.tar.gz(r-4.7-any)casimir_0.0.2.tar.gz(r-4.6-any)
casimir_0.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
casimir/json (API)

# Install 'casimir' in R:
install.packages('casimir', repos = c('https://henning-winker.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/henning-winker/casimir/issues

Pkgdown/docs site:https://henning-winker.github.io

On CRAN:

Conda:

3.64 score 29 scripts 597 downloads 40 exports 18 dependencies

Last updated from:83dec60c0a. Checks:7 WARNING, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develWARNING196
source / vignettesOK281
linux-releaseWARNING138
macos-releaseWARNING122
macos-oldrelWARNING151
windows-develWARNING139
windows-releaseWARNING133
windows-oldrelWARNING95
wasm-releaseOK105

Exports:artefactscas_designcas_effort_truthcas_fisherycas_truthcasimir_guidecasimir_tipcatch_bycheck_estimatecompare_designsdays_vs_boatsdeck_designdesign_costdraw_sampleeffort_byestimate_catchexport_surveyframe_surveyisland_xplanted_artefactsplot_catch_byplot_catch_mapplot_design_gridplot_effort_mapplot_effort_seriesplot_estimateplot_evalplot_funnelplot_sample_mapplot_seriesplot_species_mapplot_spinplot_spin_seriesreplicate_designrun_apprun_surveyseed_forspin_seriesspins_longsummary_spins

Dependencies:clicpp11cpueTargetingfarverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

casimir teaching cards: bet, roll, spin

Last update: 2026-11-25
Started: 2026-11-25

casimir user guide: one survey on Island X

Last update: 2026-11-25
Started: 2026-11-25

How casimir works

Last update: 2026-11-25
Started: 2026-11-25

Readme and manuals

Help Manual

Help pageTopics
Planted artefactsartefacts
Survey designcas_design
True effort (number of landings) by stratumcas_effort_truth
Simulate the fishery (the population of landings)cas_fishery
True landings by species and stratumcas_truth
Copy, and optionally render, a casimir guidecasimir_guide
Short explanations of settingscasimir_tip
Catch by species and segment (or other groups)catch_by
Compare an estimate with the truthcheck_estimate
Compare designs on the same fisherycompare_designs
Days or boats? Designs of about equal costdays_vs_boats
Design of the training deckdeck_design
Design costdesign_cost
Draw a survey sample (Roll)draw_sample
Effort by segment (or other groups)effort_by
Raise a sample to catch per species (Raise)estimate_catch
Export a survey (Cash out)export_survey
Frame surveyframe_survey
Maps of the island: species, effort and catchisland_maps plot_catch_map plot_effort_map plot_species_map
Island X: the default training fisheryisland_x
Table of planted artefacts (answer key)planted_artefacts
Estimated against true catch, blocked by segment or stratumplot_catch_by
Week x site grid of a stratum (deck slide 6)plot_design_grid
Effort series against the truthplot_effort_series
Estimates against the truthplot_estimate
Bias, CV and coverage by speciesplot_eval
How much of the fishery the sample sawplot_funnel
Where the sampled boats fishedplot_sample_map
Catch series against the truthplot_series
The spin: distribution of the estimates around the truthplot_spin
Spun programme against the truth, year by yearplot_spin_series
Repeat a design many times (Spin x1000)replicate_design
Start the casimir apprun_app
Run a sampling programme over several yearsrun_survey
Seed for one stream of random numbersseed_for
Spin a sampling programme many times (Spin x1000 over the years)spin_series
Estimates against the truth as one long tablespins_long
Summary of a spun programme by yearsummary_spins