near.match: Are two vectors close to one another?

Description Usage Arguments Author(s) Examples

Description

Returns TRUE if each element of x and y are “near” one another

Usage

1
near.match(x, y, tol=NULL)

Arguments

x

First object

y

Second object

tol

Relative tolerance with default NULL meaning to use machine precision

Author(s)

Robin K. S. Hankin

Examples

1
2
x <- rep(1,6)
near.match(x, x+rnorm(6)/1e10)

elliptic documentation built on May 2, 2019, 9:37 a.m.