render_numeric | R Documentation |
Called from cttab
by default to render continuous (i.e.
numeric
) values for displaying in the table.
render_numeric(x, what = "Median [Min, Max]", ...)
x |
A numeric vector. |
what |
A character or vector what will be reported for numeric
variables, default is median and min, max. See |
... |
Further arguments, passed to |
This function was used by link{cttab}
to render numeric variables.
It essentially uses the values returned by num_stat
and
put values to a vector.
A character
vector. Each element is to be displayed in a
separate cell in the table. The names
of the vector are the
labels to use in the table.
signif_pad
round_pad
num_stat
x <- exp(rnorm(100, 1, 1))
render_numeric(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.