This function converts a rate to a probability using the formula 1 - exp(-rate)
.
Examples
rate <- 0.1
prob <- rate2prob(rate)
print(prob)
#> [1] 0.09516258
This function converts a rate to a probability using the formula 1 - exp(-rate)
.
rate <- 0.1
prob <- rate2prob(rate)
print(prob)
#> [1] 0.09516258