calc_current_exposure: Calculates the remaining exposure at given time

Description Usage Arguments Value Examples

Description

This function takes a set of exposures and exposures times (or a single exposure) and calculates the remaining level at the end of a certain time frame The exposures decay exponentially (see calc_risk) and if end_time -> infty, the remaining exposure will be zero

Usage

1
2
calc_current_exposure(exposure_series, exposure_times, final_time, clr,
  na.zero = F)

Arguments

exposure_series

The values of repeated pathogen exposures

exposure_times

The times of exposures

final_time

The time to calculate remaining exposure at

clr

The clearance rate of exposure

Value

remaining exposure and end of time frame (given by final_times)

Examples

1
calc_current_exposure_cpp(rep(1e7, 5), 0:4, 5, 2)

bryanmayer/multdr documentation built on May 13, 2019, 8:11 a.m.