proportion_round: Rounds proportions to significant digits both near 0 and 1

View source: R/main.R

proportion_roundR Documentation

Rounds proportions to significant digits both near 0 and 1

Description

Rounds proportions to significant digits both near 0 and 1

Usage

proportion_round(p, digits = 2)

Arguments

p

probabiity

digits

rounding digits

Value

numeric vector

Examples

proportion_round(0.01111)

wjschne/WJSmisc documentation built on June 29, 2023, 8:04 a.m.