compareData {dataCompareR}R Documentation

Compare data. Wrapper for comparison functionality.

Description

Compare data. Wrapper for comparison functionality.

Usage

compareData(DFA, DFB, keys = NULL, maxMismatches)

Arguments

DFA

dataframe as returned from prepareData

DFB

dataframe as returned from prepareData

keys

vector of chars - names 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

mismatchObject containing mismatch data for each of the variables in the dataframes

Examples

## Not run: compareData(iris, iris)

## Not run: iris2 <- iris
## Not run: iris2[1,1] <- 5.2
## Not run: iris2[2,1] <- 5.2
## Not run: compareData(iris, iris2)

## Not run: compareData(pressure, pressure, keys = 'temperature')

[Package dataCompareR version 0.1.4 Index]