powered by
Create a formattable object
# S3 method for default formattable(x, ..., formatter, preproc = NULL, postproc = NULL)
an object.
arguments to be passed to formatter.
formatter
formatting function, formatC in default.
formatC
pre-processor function that prepares x for formatting function.
x
post-processor function that transforms formatted output for printing.
a formattable object that inherits from the original object.
formattable
# NOT RUN { formattable(rnorm(10), formatter = "formatC", digits = 1) # }
Run the code above in your browser using DataLab