round_opt | R Documentation |
INTERNAL: Rounding function
round_opt(x, round_fun, is_this_for_Word = FALSE, out_class = "numeric")
x |
vector to be rounded |
round_fun |
which function to use to round. Options: "round", "signif", "consultancy", "none". |
is_this_for_Word |
TRUE or FALSE for whether this is being applied to a Word file in this situation |
out_class |
data class of the ouput; defaults to "numeric" but
"character" is acceptable and will often work better if this is for a Word
file or is being supplied to |
rounded numbers that might, after running this, be character data
# None.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.