Learn R Programming

unusualprofile (version 0.1.4)

proportion_round: 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)

Value

numeric vector

Arguments

p

probability

digits

rounding digits

Examples

Run this code
proportion_round(0.01111)

Run the code above in your browser using DataLab