Percentage in ROPE formatting
format_rope(rope_percentage, name = "in ROPE", digits = 2)
Value or vector of percentages in ROPE.
Name prefixing the text. Can be NULL
.
Number of significant digits. May also be "scientific"
to return exact p-values in scientific notation, or "apa"
to use an APA-style for p-values.
A formatted string.
# NOT RUN {
format_rope(c(0.02, 0.12, 0.357, 0))
format_rope(c(0.02, 0.12, 0.357, 0), name = NULL)
# }
Run the code above in your browser using DataLab