flexiRound: Rounding a number to a specified base

Description Usage Arguments Value Author(s) See Also

View source: R/FUNctions.R

Description

This function rounds a numeric vector input to a user defined base

Usage

1

Arguments

x

a vector of arbitrary length to be rounded

base

the base which each element of x will be rounded to

Value

a numeric vector with elements rounded to the nearest multiple of base

Author(s)

Philip Goddard

See Also

round


philipmgoddard/FUNctions documentation built on May 25, 2019, 5:03 a.m.