tbfmt | R Documentation |
tableby
functionsA collection of functions that may help users create custom functions that are formatted correctly.
tbfmt(x, digits = NULL, digits.count = NULL, digits.pct = NULL, ...) as.tbstat( x, oldClass = NULL, fmt = "{y}", which.count = 0L, which.pct = 0L, ... ) as.tbstat_multirow(x)
x |
Usually a vector. |
digits, digits.pct, digits.count |
Digits specifications |
... |
arguments to pass to |
oldClass |
class(es) to add to the resulting object. |
fmt |
A |
which.count |
Which statistics are counts? The default is 0, indicating that none are. |
which.pct |
Which statistics are percents? The default is 0, indicating that none are. |
The vignette has an example on how to use these.
as.tbstat
defines a tableby statistic with its appropriate formatting.
tbfmt
applies some default formatting.
as.tbstat_multirow
marks an object (usually a list) for multiple-row printing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.