param_set {tfrmt} | R Documentation |
Set custom parameter-level significant digits rounding
Description
Set custom parameter-level significant digits rounding
Usage
param_set(...)
Arguments
... |
Series of name-value pairs, optionally formatted using
|
Details
Type param_set()
in console to view package defaults. Use of the
function will add to the defaults and/or override included defaults of the
same name. For values that are integers, use NA
so no decimal places will
be added.
Value
list of default parameter-level significant digits rounding
Examples
# View included defaults
param_set()
# Update the defaults
param_set("{mean} ({sd})" = c(2,3), "pct" = 1)
# Separate mean and SD to different lines
param_set("mean" = 2, "sd" = 3)
# Add formatting using the glue syntax
param_set("{pct} %" = 1)
[Package tfrmt version 0.1.2 Index]