RandomFieldsUtils (version 1.2.5)

confirm: 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,...

Value

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

Examples

Run this code
# NOT RUN {
x <- 3
confirm(gauss(x), exp(-x^2))
# }

Run the code above in your browser using DataLab