confirm: Test if Two Objects are (Nearly) Equal

View source: R/utils.R

confirmR Documentation

Test if Two Objects are (Nearly) Equal

Description

confirm(x, y) is a utility to compare R objects x and y testing ‘near equality’ base on all.equal. It is written too allow different behaviour on different operating systems

Usage

confirm(x, y, ...)

Arguments

x,y,...

see all.equal

Value

Only TRUE or error in linux-gnu. Otherwise logical.

Examples

x <- 3
confirm(gauss(x), exp(-x^2))

RandomFieldsUtils documentation built on April 19, 2022, 5:09 p.m.