powered by
Confidence/Credible Interval (CI) Formatting
format_ci(CI_low, CI_high, ci = 0.95, digits = 2)
Lower CI bound.
Upper CI bound.
CI level in percentage.
Number of significant digits.
A formatted string.
# NOT RUN { format_ci(1.20, 3.57, ci = 0.90) format_ci(1.20, 3.57, ci = NULL) format_ci(c(1.205645, 23.4), c(3.57, -1.35), ci = 0.90) format_ci(c(1.20, NA, NA), c(3.57, -1.35, NA), ci = 0.90) # }
Run the code above in your browser using DataLab