fmt_significant: Rounding with significant digits in the 'fmt' argument

View source: R/fmt_factory.R

fmt_significantR Documentation

Rounding with significant digits in the fmt argument

Description

The number of decimal digits to keep after the decimal is assessed

Usage

fmt_significant(digits = 3, ...)

Arguments

digits

Number of significant digits to keep.

...

Additional arguments are passed to the format() function (e.g., big.marks, scientific). See ?format


vincentarelbundock/gtsummary documentation built on Nov. 6, 2024, 11:07 p.m.