| equalGADS {eatGADS} | R Documentation |
Test if two GADSdat objects are (nearly) equal
Description
Run tests to check whether two GADSdat objects are (nearly) equal. Variable names, number of rows in the data,
meta data and data differences are checked and reported as a list output.
Usage
equalGADS(
target,
current,
id = NULL,
metaExceptions = c("display_width", "labeled"),
tolerance = sqrt(.Machine$double.eps)
)
Arguments
target |
A |
current |
A |
id |
A character vector of length 1 containing the unique identifier column of both |
metaExceptions |
Should certain meta data columns be excluded from the comparison? |
tolerance |
A numeric value greater than or equal to |
Details
More detailed checks for individual variables can be performed via inspectDifferences
and inspectMetaDifferences.
Value
Returns a list.
[Package eatGADS version 1.1.0 Index]