dot-in_numeric: Find elements of one numeric vector in another.

.in_numericR Documentation

Find elements of one numeric vector in another.

Description

Find which elements of 'a' are equal to at least one element in 'b', to within some tolerance tol.

Usage

.in_numeric(a, b, tol = 1e-06)

Arguments

a

The vector for which comparison are to be made

b

The vector to match against.

tol

The tolerance within which values are assumed to be the same.

Value

A vector of logical values the same length as 'a' describing whether this vector element is close to at least one element in 'b'


jasonhilton/ggfan documentation built on Sept. 17, 2023, 5:47 a.m.