bootstrap_quantiles: 0.25- and 0.95- confidence intervals for bootstrapped data.

View source: R/bootstrap_quantiles.R

bootstrap_quantilesR Documentation

0.25- and 0.95- confidence intervals for bootstrapped data.

Description

This function estimates the uncertainty of the parameters survival, migratory connectivity and recovery probability by bootstrapping the marking data.

Usage

bootstrap_quantiles(mark_recapture_object, params = c("s", "m", "r"), filename)

Arguments

mark_recapture_object

object of class mark_recapture_object (see mark_recapture_object())

params

vector of characters specifying the parameter names considered for uncertainty estimation, possible values are s for survival, m for migratory connectivity and r for recovery probability. Defaults to c("s","m","r").

filename

(path to file) and filename to store the mark_recapture_object with bootstrap estimates.

Value

raw bootstrap dataframe to be used in bootstrap_quantiles

Examples

{## Not run: 
  mro  <- mro1D
  mro <- est_uncertainty(mro,parameters = "s", iterations = 2,
  filename = "test")
  mro <- bootstrap_quantiles(mro, "s", "test")
## End(Not run)
}


SaskiaSchirmer/CONSURE documentation built on Sept. 3, 2023, 8:52 a.m.