View source: R/rate_prob_functions.R
rate2prob | R Documentation |
This function converts a rate to a probability using the formula 1 - exp(-rate)
.
rate2prob(rate)
rate |
A numeric value representing the rate. |
A numeric value representing the probability.
rate <- 0.1
prob <- rate2prob(rate)
print(prob)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.