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

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.