Description Usage Arguments Value Examples
Create a formattable factor object
1 2 | ## S3 method for class 'factor'
formattable(x, ..., formatter = "vmap", preproc = NULL, postproc = NULL)
|
x |
a factor 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
factor object.
1 2 | formattable(as.factor(c("a", "b", "b", "c")),
a = "good", b = "fair", c = "bad")
|
[1] good fair fair bad
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.