Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ssd_hp

Hazard Percent


Description

Gets percent species protected at specified concentrations.

Usage

ssd_hp(x, ...)

## S3 method for class 'fitdist'
ssd_hp(
  x,
  conc,
  ci = FALSE,
  level = 0.95,
  nboot = 1000,
  parallel = NULL,
  ncpus = 1,
  ...
)

## S3 method for class 'fitdistcens'
ssd_hp(
  x,
  conc,
  ci = FALSE,
  level = 0.95,
  nboot = 1000,
  parallel = NULL,
  ncpus = 1,
  ...
)

## S3 method for class 'fitdists'
ssd_hp(
  x,
  conc,
  ci = FALSE,
  level = 0.95,
  nboot = 1000,
  parallel = NULL,
  ncpus = 1,
  average = TRUE,
  ic = "aicc",
  ...
)

## S3 method for class 'fitdistscens'
ssd_hp(
  x,
  conc,
  ci = FALSE,
  level = 0.95,
  nboot = 1000,
  parallel = NULL,
  ncpus = 1,
  average = TRUE,
  ic = "aic",
  ...
)

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.

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 conc and percent.

Methods (by class)

  • fitdist: Hazard Percent fitdist

  • fitdistcens: Hazard Percent fitdistcens

  • fitdists: Hazard Percent fitdists

  • fitdistscens: Hazard Percent fitdistcens

Examples

ssd_hp(boron_lnorm, c(0, 1, 30, Inf))
ssd_hp(fluazinam_lnorm, c(0, 1, 30, Inf))
ssd_hp(boron_dists, c(0, 1, 30, Inf))
ssd_hp(fluazinam_dists, c(0, 1, 30, Inf))

ssdtools

Species Sensitivity Distributions

v0.3.3
Apache License (== 2.0) | file LICENSE
Authors
Joe Thorley [aut, cre, ctr] (<https://orcid.org/0000-0002-7683-4592>), Carl Schwarz [aut, ctr], Angeline Tillmanns [ctb], Ali Azizishirazi [ctb], Rebecca Fisher [ctb], David Fox [ctb], Kathleen McTavish [ctb], Heather Thompson [ctb], Andy Teucher [ctb], Emilie Doussantousse [ctb], Stephanie Hazlitt [ctb], Nadine Hussein [ctb], Nan-Hung Hsieh [ctb], Sergio Ibarra Espinosa [ctb], Province of British Columbia [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.