sig: Format digits

View source: R/print.R

sigR Documentation

Format digits

Description

Simplified version of pmtables::sig() for formatting numbers to a specific number of significant digits.

Usage

sig(.x, .digits)

Arguments

x

numeric, value to manipulate

digits

numeric, number of significant digits

Value

character vector of formatted values


metrumresearchgroup/bbr documentation built on March 29, 2025, 1:08 p.m.