Learn R Programming

pense (version 2.2.2)

.approx_match: Approximate Value Matching

Description

Approximate Value Matching

Usage

.approx_match(x, table, eps)

Value

a vector the same length as x with integers giving the position in table of the first match if there is a match, or NA_integer_

otherwise.

Arguments

x, table

see base::match for details.

eps

numerical tolerance for matching.