Learn R Programming

SpaDES.core (version 2.1.6)

all.equal.simList: All equal method for simList objects

Description

This function removes a few attributes that are added internally by SpaDES.core and are not relevant to the all.equal. One key element removed is any time stamps, as these are guaranteed to be different. A possibly very important argument to pass to the ... is check.attributes = FALSE which will allow successful comparisons of many objects that might have pointers.

Usage

# S3 method for simList
all.equal(target, current, ...)

Value

See base::all.equal()

Arguments

target

R object.

current

other R object, to be compared with target.

...

further arguments for different methods, notably the following two, for numerical comparison: