euler_plot | R Documentation |
Calculates relative overlaps and uses eulerr package to create Euler/Venn-diagrams. Use plot() to create diagram. Combined with an evolved calculate.overlap() from the VennDiagram library. Up to five (5) dimensions. Limit set by the complexity of combinations. euler() supports more. Output is a list. First element is euler model for plotting. Others are for easy labeling.
euler_plot(x, total, dec = 1, label = as.character(c(1:5)), shape = "ellipse")
x |
list of variables included. Has to be vectors of identifier numbers. |
total |
data.frame, vector or integer to calculate or use as total number of participants for percentage calculation. |
dec |
number of decimals for labels in plot. Standard set to 1. |
label |
labels for easy creation of legend in plot(). |
shape |
same as for euler(). These includes c("circle","ellipse"). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.