ddCI {dwp} | R Documentation |
Calculate CI for CDF, PDF, or quantile
Description
Calculate a confidence interval for the CDF, PDF, or quantile of a carcass distance distribution.
Usage
ddCI(
mod,
x,
type = "CDF",
CL = 0.9,
nsim = 1000,
extent = "full",
zrad = 200,
na.tol = 0.1
)
Arguments
mod |
a |
x |
distance from turbine (scalar or vector) or probability (for quantile) |
type |
|
CL |
confidence level for the confidence interval(s) |
nsim |
number of simulation draws to base the estimate of |
extent |
whether to calculate |
zrad |
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. |
na.tol |
maximum fraction of invalid parameter sets to discard when
constructing CIs; abort if |
Value
array (ddCI
class) with columns for distance and the CI bounds