render.continuous.default: Render continuous values for table output.

View source: R/table1.R

render.continuous.defaultR Documentation

Render continuous values for table output.

Description

Called from table1 by default to render continuous (i.e. numeric) values for displaying in the table.

Usage

render.continuous.default(x, ...)

Arguments

x

A numeric vector.

...

Further arguments, passed to stats.apply.rounding.

Value

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. However, the first names should be empty as it will be replaced by the name of the variable. Empty strings are allowed and result in empty table cells.

Examples

x <- exp(rnorm(100, 1, 1))
render.continuous.default(x)


benjaminrich/table1 documentation built on April 29, 2023, 7:05 p.m.