Learn R Programming

ssdtools (version 1.0.6)

ssd_exposure: Percent Exposure

Description

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

Usage

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

Value

The proportion exposed.

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.

Examples

Run this code
fits <- ssd_fit_dists(ssddata::ccme_boron, dists = "lnorm")
set.seed(10)
ssd_exposure(fits)
ssd_exposure(fits, meanlog = 1)
ssd_exposure(fits, meanlog = 1, sdlog = 1)

Run the code above in your browser using DataLab