Learn R Programming

ssdtools (version 1.0.6)

ssd_hp: Hazard Percent

Description

Gets percent of species affected at specified concentration(s).

Usage

ssd_hp(x, ...)

# S3 method for fitdists ssd_hp( x, conc, ci = FALSE, level = 0.95, nboot = 1000, average = TRUE, delta = 7, min_pboot = 0.99, parametric = TRUE, control = NULL, ... )

Value

A tibble of corresponding hazard percents.

Arguments

x

The object.

...

Unused.

conc

A numeric vector of concentrations.

ci

A flag specifying whether to estimate confidence intervals (by parametric bootstrapping).

level

A number between 0 and 1 of the confidence level.

nboot

A count of the number of bootstrap samples to use to estimate the se and confidence limits. A value of 10000 is recommended for official guidelines.

average

A flag specifying whether to model average the estimates.

delta

A non-negative number specifying the maximum absolute Akaike Information-theoretic Criterion difference cutoff. Distributions with an absolute difference from the best model greater than the cutoff are excluded.

min_pboot

A number of the minimum proportion of bootstrap samples that must successfully fit in the sense of returning a likelihood.

parametric

A flag specifying whether to perform parametric as opposed to non-parametric bootstrapping.

control

A list of control parameters passed to stats::optim().

Methods (by class)

  • ssd_hp(fitdists): Hazard Percents for fitdists Object

Details

If ci = TRUE uses parameteric bootstrapping to get confidence intervals on the hazard percent(s).

See Also

ssd_hc()

Examples

Run this code
fits <- ssd_fit_dists(ssddata::ccme_boron)
ssd_hp(fits, conc = 1)

Run the code above in your browser using DataLab