R/main.R
proportion_round.Rd
Rounds proportions to significant digits both near 0 and 1
proportion_round(p, digits = 2)
probabiity
rounding digits
numeric vector
proportion_round(0.01111) #> [1] 0.01