rate2prob {twig} | R Documentation |
Convert Rate to Probability
Description
This function converts a rate to a probability using the formula 1 - exp(-rate)
.
Usage
rate2prob(rate)
Arguments
rate |
A numeric value representing the rate. |
Value
A numeric value representing the probability.
Examples
rate <- 0.1
prob <- rate2prob(rate)
print(prob)
[Package twig version 1.0.0.0 Index]