formatUnc: Truncate value and uncertainty to consistent number of...

View source: R/genTabStat.R

formatUncR Documentation

Truncate value and uncertainty to consistent number of digits.

Description

Truncate value and uncertainty to consistent number of digits.

Usage

formatUnc(y, uy, numDig = 2)

Arguments

y

(numeric) value

uy

(numeric) uncertainty on 'y'

numDig

(numeric) number of digits to keep on 'uy'

Value

A list with strings of truncated values of 'y' and 'uy'.


ppernot/ErrViewLib documentation built on June 1, 2024, 4:33 a.m.