Learn R Programming

ssdtools (version 1.0.6)

predict.fitburrlioz: Predict Hazard Concentrations of fitburrlioz Object

Description

A wrapper on ssd_hc() that by default calculates all hazard concentrations from 1 to 99%.

Usage

# S3 method for fitburrlioz
predict(
  object,
  percent = 1:99,
  ci = FALSE,
  level = 0.95,
  nboot = 1000,
  min_pboot = 0.99,
  parametric = TRUE,
  ...
)

Arguments

object

The object.

percent

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. A value of 10000 is recommended for official guidelines.

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.

...

Unused.

Details

It is useful for plotting purposes.

See Also

ssd_hc() and ssd_plot()

Examples

Run this code
fits <- ssd_fit_burrlioz(ssddata::ccme_boron)
predict(fits)

Run the code above in your browser using DataLab