around: Is x around y?

Description Usage Arguments Value Examples

View source: R/around.R

Description

Is x around y?

Usage

1
around(x, y, eps)

Arguments

x

The value to test

y

Value of interest

eps

The threshold

Value

TRUE if x is in the interval (y - eps, y + eps)

Examples

1
2
around(2, 3, 0.5)
around(2, 3, 1)

b-rodrigues/brotools documentation built on April 21, 2020, 2:27 p.m.