
Rounds proportions to significant digits both near 0 and 1, then converts to percentiles
Source:R/main.R
      proportion2percentile.RdRounds proportions to significant digits both near 0 and 1, then converts to percentiles
Usage
proportion2percentile(
  p,
  digits = 2,
  remove_leading_zero = TRUE,
  add_percent_character = FALSE
)