powered by
Creates a Venn diagram showing key overlap between tables.
# S3 method for JoinReport plot( x, file = NULL, width = 6, height = 5, colors = c("#4A90D9", "#D94A4A"), ... )
Invisibly returns the plot data (left_only, both, right_only counts).
A JoinReport object.
JoinReport
Optional file path to save the plot (PNG, SVG, or PDF based on extension). If NULL (default), displays in the current graphics device.
Width in inches (default 6).
Height in inches (default 5).
Character vector of length 2 for left and right circle colors.
Additional arguments (ignored).
orders <- data.frame(id = 1:5, val = 1:5) customers <- data.frame(id = 3:7, name = letters[3:7]) report <- join_spy(orders, customers, by = "id") plot(report)
Run the code above in your browser using DataLab