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