Description Usage Arguments Value Examples
Create a formattable object
1 2 | ## Default S3 method:
formattable(x, ..., formatter, preproc = NULL, postproc = NULL)
|
x |
an object. |
... |
arguments to be passed to |
formatter |
formatting function, |
preproc |
pre-processor function that prepares |
postproc |
post-processor function that transforms formatted output for printing. |
a formattable
object that inherits from the original
object.
1 | formattable(rnorm(10), formatter = "formatC", digits = 1)
|
[1] -0.08 0.3 -1 -0.2 0.8 0.2 0.2 -0.2 -1 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.