Learn R Programming

ssdtools (version 0.3.7)

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)

Arguments

x

The object.

meanlog

A number of the mean of the exposure concentrations on the log scale.

sdlog

A number of the standard deviation of the exposure concentrations on the log scale.

nboot

The number of samples to use to calculate the exposure.

Value

A number of the proportion exposed.

Examples

Run this code
# NOT RUN {
set.seed(10)
ssd_exposure(boron_lnorm)
ssd_exposure(boron_lnorm, meanlog = 1)
ssd_exposure(boron_lnorm, meanlog = 1, sdlog = 1)
# }

Run the code above in your browser using DataLab