View source: R/rate_conversion.R
prob_to_prob | R Documentation |
rate_to_prob
convert a probability to a probability with a different frequency.
prob_to_prob(p, t = 1)
p |
probability |
t |
time/ frequency |
a scalar or vector of probabilities converted to a different frequency
# Annual probability to monthly probability
p_year <- 0.3
p_month <- prob_to_prob(p = p_year, t = 1/12)
p_month
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.