proba_to_rate: 'proba_to_rate' transforms annual probability of a given...

Description Usage Arguments Details Value

View source: R/utils.R

Description

proba_to_rate transforms annual probability of a given event into a rate of occurrence of this event for the specified time unit t

Usage

1
proba_to_rate(p, t = 365.25)

Arguments

p

the annual probability (must be between 0 and 1)

t

the unit of time in which the probability was expressed (by default, a year)

Details

This function assumes a constant rate of occurrence of an event over a given time period

Value

'1-exp(-r)' the rate of occurence of the event per time.unit


grlurton/ImpactSimul documentation built on March 8, 2021, 12:05 a.m.