pfround: Take a numeric and return its rounded value with set number...

pfroundR Documentation

Take a numeric and return its rounded value with set number of decimal points as a character.

Description

Take a numeric and return its rounded value with set number of decimal points as a character.

Usage

pfround(x, digits)

Arguments

x

Any numeric value.

digits

Integer. Number of decimal points to report.

Value

Character vector.

Examples

pfround(x = 1/3,
        digits = 3)


gerasy1987/usefulr documentation built on Sept. 18, 2024, 9:46 a.m.