
Bootstrap haul data and return index information
run_bootstraps.RdBootstrap haul data and return index information
Examples
testdata <- gapindex::get_data(
year_set = c(1996, 1999),
survey_set = c("GOA", "AI", "EBS", "NBS", "BSS")[1],
spp_codes = c(21740, 30060, 10110)[1],
haul_type = 3,
abundance_haul = c("Y", "N")[1],
pull_lengths = TRUE
)
#> Warning: Selecting ‘env’ backend. Secrets are stored in environment variables
#> Error in b_env_list(self, private, service, keyring): 'service' is required for 'env' backend.
testcpue <- gapindex::calc_cpue(gapdata = testdata)
#> Error: object 'testdata' not found
run_bootstraps(nboot = 5, gapdata = testdata, gapcpue = testcpue)
#> Error: object 'testcpue' not found