Skip to contents

Calculates average proportion exposed based on log-normal distribution of concentrations.

Usage

ssd_exposure(x, meanlog = 0, sdlog = 1, nboot = 1000)

Arguments

x

The object.

meanlog

The mean of the exposure concentrations on the log scale.

sdlog

The standard deviation of the exposure concentrations on the log scale.

nboot

The number of samples to use to calculate the exposure.

Value

The proportion exposed.

Examples

fits <- ssd_fit_dists(ssddata::ccme_boron, dists = "lnorm")
set.seed(10)
ssd_exposure(fits)
#> [1] 0.05389213
ssd_exposure(fits, meanlog = 1)
#> [1] 0.1705357
ssd_exposure(fits, meanlog = 1, sdlog = 1)
#> [1] 0.1609466