compare_character_distributions: Compare the distribution of common fields across two data...

Description Usage Arguments See Also

Description

Compare the distribution of common fields across two data frames.

Usage

1
2
3
4
5
6
7
8
compare_character_distributions(challenger, baseline,
  summaries = default_character_summaries,
  tests = default_character_tests(discrete_tolerance =
  getOption("vardist.character_discrete_tolerance", 2), percent_tolerance =
  getOption("vardist.character_percent_tolerance", 0.1), uniques_threshold =
  getOption("vardist.character_uniques_threshold", 100), uniques_tolerance =
  getOption("vardist.character_uniques_tolerance", 10)), parallel = FALSE,
  mc.cores = parallel::detectCores())

Arguments

challenger

data.frame.

baseline

data.frame.

summaries

list. A named list of summary functions. Each function must take as an input one numeric vector, and output a numeric vector of length 1.

tests

list. A named list of functions that return TRUE or FALSE, and take in columns or summary statistics fom the challenger and the baseline.

parallel

logical. Should we use mclapply instead of lapply?

mc.cores

numeric. To be passed into mclapply.

See Also

compare_numeric_distributions


avantoss/vardist documentation built on May 24, 2019, 3:03 a.m.