| bootstrap | R Documentation |
Performs bootstrap resampling iterations, either in parallel across CPU cores or in serial on a single core.
bootstrap(
object,
area,
propUnitSurveyed,
R,
plot.bs,
plotCovValues,
showProgress,
parallel,
cores
)
object |
An Rdistance model frame or fitted distance function,
normally produced by a call to |
area |
A scalar containing the total area of inference. Usually, this is
study area size. If |
propUnitSurveyed |
A scalar or vector of real numbers between 0 and 1.
The proportion of the default sampling unit that
was surveyed. If both sides of line transects were observed,
|
R |
The number of bootstrap iterations to conduct when |
plot.bs |
A logical scalar indicating whether to plot individual
bootstrap iterations.
Ignored unless |
plotCovValues |
Data frame containing values of covariates to plot.
Ignored if |
showProgress |
A logical indicating whether to show a text-based
progress bar during bootstrapping. Default is |
parallel |
Logical scalar. TRUE if we are running iterations
in parallel across CPU cores. Number of cores specified in |
cores |
Integer scalar. The number of CPU cores to use during
parallel operations, if requested. Ignored if |
A data frame containing density, abundance,
and other relevant statistics for every bootstrap iteration.
Number of rows is R. If the model from one iteration failed
for any reason (e.g., non-convergence), the entire row except the ID column
is missing.
abundEstim; oneBsIter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.