almostEqual: Compare Numerical Vectors with Tolerance

View source: R/logical.R

almostEqualR Documentation

Compare Numerical Vectors with Tolerance

Description

Compare numerical vectors accepting a tolerance

Usage

almostEqual(x, y, tolerance = 1e-12)

Arguments

x

vector of numerical

y

vector of numerical

tolerance

tolerance, i.e. accepted difference between values in x and y. Default: 1e-12

Value

vector of logical


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.