roundDown: Function for Rounding Down with a Given Sensitivity

View source: R/other_functions.R

roundDownR Documentation

Function for Rounding Down with a Given Sensitivity

Description

Function rounds the numbers Down with the given sensitivity.

Usage

roundDown(x, to = 1)

Arguments

x

numeric. A numeric vector.

to

numeric. Sensitivity of the rounding.

Value

Numeric value or vector.

Author(s)

Omer Kara

Examples

roundDown(2.67896, to = 1)
roundDown(2.67896, to = 0.1)
roundDown(2.67896, to = 0.01)
roundDown(2.67896, to = 0.001)


omerkara/okara documentation built on Nov. 21, 2023, 7:56 p.m.