Generates ggplot2 visualizations of data frame comparisons: 2-set Venn diagrams of observation/key overlap or variable concordance (leveraging ggVennDiagram when installed), or discrepancy bar charts across variables.
Arguments
- object
A
compare_dfobject.- type
Character string specifying the plot type:
"observations"(default; Venn of rows/keys),"variables"(Venn of common/unique columns), or"discrepancies"(bar chart of value differences).- ...
Additional arguments passed to methods or ggVennDiagram.
Value
A ggplot object.
