r: Quick rounding

View source: R/helper.R

rR Documentation

Quick rounding

Description

Quick rounding

Usage

r(x, dp = 2)

Arguments

x

vector to be rounded.

dp

Number of decimal places (defaults to 2).

Value

Rounded output

Examples

r(4.66544645454)
r(somevector, 3)

vince-p/vtools documentation built on Jan. 27, 2024, 12:45 p.m.