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