Description Usage Arguments Value Examples
This algorithm is based on a simulation that compacts the figure. If the resulting diagram is not compact enough, the simulation can be tweaked in two ways: changing the number of simulation cycles ('nCycles') and executing this function repeatedly.
1 2 3 4 5 6 7 8 |
sets |
List of lists with the input sets. |
nVennObj |
Object returned from previous run. If provided, the function will improve the diagram by running more cycles on the previous result. If nVennObj is provided, do not feed additional input lists, as they will be ignored |
nCycles |
Number of cycles for the simulation. For up to 4 sets, the default number of 7000 should be enough. Even for more complex scenarios, it may be better to run the function repeatedly, as a large number of cycles may take up too many resources. |
sNames |
List of set names, in the same order as the input lists. If the input has tables or data frames and the name exists, it will select the corresponding column. |
showPlot |
Show the result in the graphic device. |
... |
Options for 'showSVG'
If input lists have names, those names will be used for the legend. If not, names can be
provided with |
nVennObj with the result of the simulation. As a side effect, The result can be drawn in the graphical device.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.