formattable.default {formattable} | R Documentation |
Create a formattable object
Description
Create a formattable object
Usage
## Default S3 method:
formattable(x, ..., formatter, preproc = NULL, postproc = NULL)
Arguments
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. |
Value
a formattable
object that inherits from the original
object.
Examples
formattable(rnorm(10), formatter = "formatC", digits = 1)
[Package formattable version 0.2.1 Index]