Calculate a confidence interval for the CDF, PDF, or quantile of a carcass distance distribution.
ddCI(
mod,
x,
type = "CDF",
CL = 0.9,
nsim = 1000,
extent = "full",
zrad = 200,
na.tol = 0.1
)
array (ddCI
class) with columns for distance and the CI bounds
a dd
object
distance from turbine (scalar or vector) or probability (for quantile)
"CDF"
, "PDF"
, or "quantile"
confidence level for the confidence interval(s)
number of simulation draws to base the estimate of CI
on
whether to calculate CI
based on the full range of
possible data and extrapolating beyond the search radius
(extent = "full"
) or restricting the distribution to the area within
the search radius (extent = "win"
).
an ad hoc radius to integrate to when the (uncommon) simulated parameter estimates do not result in an extensible distribution. In effect, This replaces NAs with 1s in CDFs and with 0s in PDFs.
maximum fraction of invalid parameter sets to discard when
constructing CIs; abort if mean(mod[, "extensible"]) > na.tol