report | R Documentation |
Report a number, rounded to a specific number of decimals (defaults to two),
using formatC
. Intended for 'R Markdown' reports.
report(x, digits = 2, equals = TRUE)
x |
Numeric. Value to be reported |
digits |
Integer. Number of digits to round to. |
equals |
Logical. Whether to report an equals (or: smaller than) sign. |
An atomic character vector.
Caspar J. van Lissa
report(.0234)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.