View source: R/calculate-exposure.r
calculate_exposure | R Documentation |
Calculates the exposure rate applied to each year provided month of policy implementation and number of years to full implementation
calculate_exposure(month, n_years, monthly_effect = (1/n_years)/12)
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.