Learn R Programming

ssdtools (version 2.3.0)

ssd_hp_bcanz: BCANZ Hazard Proportion

Description

Gets proportion of species affected at specified concentration(s) using settings adopted by BC, Canada, Australia and New Zealand for official guidelines. This function can take several minutes to run with recommended 10,000 iterations.

Usage

ssd_hp_bcanz(x, conc = 1, nboot = 10000, min_pboot = 0.95)

Value

A tibble of corresponding hazard concentrations.

Arguments

x

The object.

conc

A numeric vector of concentrations to calculate the hazard proportions for.

nboot

A count of the number of bootstrap samples to use to estimate the confidence limits. A value of 10,000 is recommended for official guidelines.

min_pboot

A number between 0 and 1 of the minimum proportion of bootstrap samples that must successfully fit (return a likelihood) to report the confidence intervals.

See Also

ssd_hp().

Other BCANZ: ssd_fit_bcanz(), ssd_hc_bcanz()

Examples

Run this code
fits <- ssd_fit_bcanz(ssddata::ccme_boron)
ssd_hp_bcanz(fits, nboot = 100)

Run the code above in your browser using DataLab