Description Usage Arguments Value Author(s)
dshm_boot
performs a non-parametric bootstrap to generate Hurdle model predictions on a spatial grid. Prediction grids can then be used to calculate confidence intervals. The function bases on a (stratified) sampling process with replacement at the segment level.
1 2 3 4 |
det.fn.par |
List of detection function parameters. For strucuture see the documentation for |
effects.pa |
List of characters defining the binomial gam models to be fitted. For model structure see |
effects.ab |
List of characters defining the zero-truncated Poisson gam models to be fitted. For model structure see |
distdata |
Dataframe for distance sampling observations. For strucuture see the documentation for |
obsdata |
Dataframe object with the following structure:
|
segdata |
Dataframe object with the following strucuture:
You do not have to create segdata manually. You can use the functions in |
model_fit |
Model fitted with the function |
grid |
Grid used for model prediction. Column names for habitat covriates should correspond to those in 'segdata'. |
group |
If |
nsim |
Number of simulations. |
parallel |
If |
ncores |
Number of cores for parallel execution. |
mute |
If |
stratification |
Bootstrap can be executed at the level of the |
A list of two arrays:
sim_grid: simulated grids.
obs_fit: observed and fitted values for each simulation.
Filippo Franchini filippo.franchini@outlook.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.