View source: R/0_RMD_functions.R
nice_number | R Documentation |
Help make nice number in R Markdown
nice_number( x, round = T, digits = 0, format = "d", big.mark = ",", sci.digits, output = "numeric" )
x |
number |
round |
should number be rounded |
digits |
round to number of digits after comma |
format |
number format (see formatC()) |
big.mark |
separator between 3 digits; remove with "" |
sci.digits |
digits after decimal point for scientific notation (format = "e) |
output |
type of output vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.