st_units: Add unit information to st object

View source: R/table-object.R

st_unitsR Documentation

Add unit information to st object

Description

See the units argument to stable(). This function cannot be used to work on pmtable objects.

Usage

st_units(x, ..., parens = TRUE)

Arguments

x

an stobject

...

named items of the form COL = unit or a named list of units

parens

if TRUE, parens will be added to any unit whose first character is not (

Details

Units can be passed either as name=value pairs or as a named list with st_args(). Units can alternatively be passed as an argument to stable() as a pre-formed, named list using st_args(). Passing as an argument this way will overwrite units specified with st_units(). It is recommended to use either st_units() or st_args() but not both.


metrumresearchgroup/pmtables documentation built on Dec. 22, 2024, 1:34 a.m.