Returns TRUE if each element of x and y are “near” one another
TRUE
x
y
near.match(x, y, tol=NULL)
First object
Second object
Relative tolerance with default NULL meaning to use machine precision
# NOT RUN { x <- rep(1,6) near.match(x, x+rnorm(6)/1e10) # }
Run the code above in your browser using DataLab