roundbound: Bounded rounding

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

This function is for presenting a figure when it should not reach a certain bound, and instead shows it as greater than the number below.

Usage

1
roundbound(x, digits = 0, maximum = 100, minimum = 0)

Arguments

x

a numeric value.

digits

integer indicating the number of decimal places

maximum

maximum bound. Defaults to 100.

minimum

minimum bound. Defaults to 0.

Value

A character string of the rounded value

Examples

1
2
3
4
5

mathesong/relfeas documentation built on March 4, 2020, 5:29 a.m.