View source: R/bootstrap_index_fun_run.R
bootstrap_index_fun_run | R Documentation |
Computes Regional and Coastwide Bootstrapped Relative Abundance Indices See the vignette for details
bootstrap_index_fun_run(
species,
survey_boundaries,
ICR_adjust = F,
data,
R = 1000,
return = F,
ncpus = 1,
type = "perc",
plot = T,
preserve_inter_regional_differences = F
)
species |
a character of the species (linked to the variables 'N_it' in the dataframe) |
survey_boundaries |
a sf polygons object containing the survey boundary definitions |
ICR_adjust |
if FALSE/TRUE it computes a CPUE-based/instantaneous catch rate-adjusted index |
data |
a sf points object containing the IPHC data |
R |
specifies the number of bootstrap samples desired |
return |
when TRUE it returns the indices |
ncpus |
specifies the number of cores to use in parallel |
type |
specifies the type of bootstrap intervals to use (default percentile) |
plot |
when TRUE it returns the plot. |
preserve_inter_regional_differences |
if TRUE estimated inter-regional differences in mean abundance are shown at a cost of higher variance. Does not affect coastwide index. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.