Draws R samples from the same fishery with the same design (and
artefacts), raises each, and compares the totals by species with the true
landings.
Usage
replicate_design(
fishery,
design = cas_design(),
R = 100,
artefacts = NULL,
route = "psu",
year = max(fishery$years),
seed = 1,
progress = NULL
)Arguments
- fishery
A
cas_fishery.- design
A
cas_design.- R
Number of replicates.
- artefacts
A
cas_artefacts, orNULL.- route
Estimation route (see
estimate_catch()).- year
Survey year.
- seed
Seed; replicate r uses
seed_for(seed, paste0("rep", r)).- progress
Optional function called with the replicate number.