dataCompareR (version 0.1.1)

compareData: 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 returend 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

Run this code
# NOT RUN {
compareData(iris, iris)
# }
# NOT RUN {
# }
# 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 {
# }
# NOT RUN {
compareData(pressure, pressure, keys = 'temperature')
# }

Run the code above in your browser using DataCamp Workspace