Learn R Programming

ssdtools (version 0.3.7)

ssd_hc: Hazard Concentration

Description

Gets concentrations that protect specified percentages of species.

Usage

ssd_hc(x, ...)

# S3 method for list ssd_hc(x, percent = 5, hc = 5, ...)

# S3 method for fitdist ssd_hc( x, percent = 5, hc = 5, ci = FALSE, level = 0.95, nboot = 1000, parallel = NULL, ncpus = 1, ... )

# S3 method for fitdistcens ssd_hc( x, percent = 5, hc = 5, ci = FALSE, level = 0.95, nboot = 1000, parallel = NULL, ncpus = 1, ... )

# S3 method for fitdists ssd_hc( x, percent = 5, hc = 5, ci = FALSE, level = 0.95, nboot = 1000, parallel = NULL, ncpus = 1, average = TRUE, ic = "aicc", ... )

# S3 method for fitdistscens ssd_hc( x, percent = 5, hc = 5, ci = FALSE, level = 0.95, nboot = 1000, parallel = NULL, ncpus = 1, average = TRUE, ic = "aic", ... )

Arguments

x

The object.

...

Unused.

percent

A numeric vector of percentages.

hc

A numeric vector of percentages.

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.

parallel

A string specifying the type of parallel operation to be used ('no', 'snow' or 'multicore').

ncpus

A count of the number of parallel processes to use.

average

A flag specifying whether to model average the estimates.

ic

A string specifying which information-theoretic criterion ('aic', 'aicc' or 'bic') to use for model averaging .

Value

A data frame of the percent and concentrations.

Methods (by class)

  • list: Hazard Percent list of distributions

  • fitdist: Hazard Percent fitdist

  • fitdistcens: Hazard Percent fitdistcens

  • fitdists: Hazard Percent fitdists

  • fitdistscens: Hazard Percent fitdistcens

Examples

Run this code
# NOT RUN {
ssd_hc(list("lnorm" = NULL))
ssd_hc(list("lnorm" = list(meanlog = 2, sdlog = 1)))
ssd_hc(boron_lnorm, c(0, 1, 30, Inf))
ssd_hc(fluazinam_lnorm, c(0, 1, 30, Inf))
ssd_hc(boron_dists, c(0, 1, 30, Inf))
ssd_hc(fluazinam_dists, c(0, 1, 30, Inf))
# }

Run the code above in your browser using DataLab