roundmaxn: Rounds numbers to nearest level.

Description Usage Arguments Value

View source: R/round.R

Description

Function that rounds a set of numbers so that the numbers are rounded according to fraction of the number with maximum absolute value.

Usage

1
roundmaxn(x, n = 200)

Arguments

x

Numbers to be rounded.

n

max(x)/n is the approximate level to which the numbers should be rounded.

Value

Rounded numbers.


tunelipt/wutils documentation built on Nov. 5, 2019, 11:01 a.m.