compareData: Compare data. Wrapper for comparison functionality.

Description Usage Arguments Value Examples

View source: R/cd_compareData.R

Description

Compare data. Wrapper for comparison functionality.

Usage

1
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

1
2
3
4
5
6
7
8
## 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')

dataCompareR documentation built on Nov. 23, 2021, 9:06 a.m.