calculate_exposure: Calculates the exposure rate applied to each year provided...

View source: R/calculate-exposure.r

calculate_exposureR Documentation

Calculates the exposure rate applied to each year provided month of policy implementation and number of years to full implementation

Description

Calculates the exposure rate applied to each year provided month of policy implementation and number of years to full implementation

Usage

calculate_exposure(month, n_years, monthly_effect = (1/n_years)/12)

Arguments

month

month of year (as integer) that policy takes effect

n_years

number of months until full implementation in effect

month_effect

increment of exposure to apply each month; default is ((1/n_years) / 12) (constant over the period)


aescherling/optic-core documentation built on June 15, 2022, 4:56 a.m.