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

froundR Documentation

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

Description

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

Usage

fround(x, digits)

Arguments

x

Any numeric value.

digits

Integer. Number of decimal points to report.

Value

Numeric vector.

Examples

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


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