dataCompareR (version 0.1.2)

locateMismatches: Checks whether elements in two input data frames are equal.

Description

Checks whether elements in two input data frames are equal.

Usage

locateMismatches(DFA, DFB, keys = NULL, maxMismatches = NA)

Arguments

DFA

input data frame

DFB

input data frame

keys

character vector of index variables

maxMismatches

Integer. The max number of mismatches to assess, after which dataCompareR will stop (without producing a dataCompareR object). Designed to improve performance for large datasets.

Value

data frame containing keys and boolean logic of match/no match for each element If data types are not equal returns FALSE. Treats NA and NaN as unequal.