formattable.default | R Documentation |
Create a formattable object
## 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.
formattable(rnorm(10), formatter = "formatC", digits = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.