Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to draw Wayne Diagram in R-VennDiagram package

Shulou Source: shulou.com Published: 2022-06-01 14:53:02 09月30日 Update

This article introduces how to draw Wayne diagram in R-VennDiagram package. The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.

Once the data is available, Venn diagrams are often used to show overlapping relationships between data sets. The following is a brief introduction to the VennDiagram package in R language to draw Venn diagrams of datasets.

A package to install and import

install.packages("VennDiagram")library(grid)library(VennDiagram)

2 Use functions and parameters

All parameters are described at https://cran.r-project.org/web/packages/VennDiagram/VennDiagram.pdf,

You can see that there are many parameters, don't worry, the following examples will give common adjustment parameters and instructions.

3 Know the number of data sets and the number of overlaps (intersections)

2.1 Wayne Plot of Two Known Data Sets

#The size of the circle does not change according to the amount of data venn.plot

Tags: Data size classification Wayne area parameter name color adjustment number font more content function graphics angle Wayne help yes appropriate Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MariaDB Shulou Technology Docker Redmi