my.all.equal.PSRoot: Test if two objects are nearly equal

Description Usage Arguments Value Author(s) See Also Examples

Description

Test if two objects are nearly equal.

This method simply calls all.equal.default with the tolerance parameter set to .Machine$double.eps ^ 0.5. More useful as a static method.

Usage

1
2
## S3 method for class 'PSRoot'
my.all.equal(static, target, current, ...)

Arguments

static

A PSRoot object.

target

R object.

current

Other R object, to be compared with target.

...

Not used.

Value

TRUE or FALSE.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see PSRoot.

Examples

1
2
3
	PSRoot$my.all.equal(0.0,0.0001)
	PSRoot$my.all.equal(0.0,0.000000001)
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.