formattable.default: Create a formattable object

Description Usage Arguments Value Examples

Description

Create a formattable object

Usage

1
2
3
## Default S3 method:
formattable(x, ..., formatter, preproc = NULL,
  postproc = NULL)

Arguments

x

an object.

...

arguments to be passed to formatter.

formatter

formatting function, formatC in default.

preproc

pre-processor function that prepares x for formatting function.

postproc

post-processor function that transforms formatted output for printing.

Value

a formattable object that inherits from the original object.

Examples

1
formattable(rnorm(10), formatter = "formatC", digits = 1)


Search within the formattable package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.