/distdiff

An R package for visualizing comparison between two distributions.

Primary LanguageRApache License 2.0Apache-2.0

Plotting Distribution Differences

DistDiff is a set of functions for visualizing differences between two distributions.

This package contains functions that plot:

  1. two distributions side by side for comparison, with automatically logged axis when necessary, and returns Wilcoxon tests results (comp.dist.plot);

  2. Cliff's Delta effect size and the confidence interval (effsize.range.plot).

For a complete list of functions, use help(package = "distdiff")

Install

Install DistCompare from Github

install.packages("devtools")  # if you haven't installed devtools

library(devtools)

install_github("lindayi/distdiff")

Sample

An example of the visualization using this package

Next Step

  • Support for Cohen's d and Hedges' g for effect size

  • Support for customizing thresholds for effect size

References

Please consider citing the following paper when using this package and the visualization style of effect size:

Lin, D., Bezemer, C. P., & Hassan, A. E. (2018). An empirical study of early access games on the Steam platform. Empirical Software Engineering, 23(2), 771-799.