I refer to the website ( https://r-graph-gallery.com/14-venn-diagramm ) to learn how to draw a venn diagram. I would like to make it with 4 sets. Where should I update/revise in the given data code on the website?
Looking at the manual, it appears you want draw.quad.venn
library(VennDiagram)
#> Loading required package: grid
#> Loading required package: futile.logger
draw.quad.venn(72, 86, 50, 52, 44, 27, 32, 38, 32, 20, 18, 17, 11, 13, 6,
category = c("First", "Second", "Third", "Fourth"),
fill = c("orange", "red", "green", "blue"),
cex = 2,
cat.cex = 2,
cat.col = c("orange", "red", "green", "blue")
)
Created on 2022-12-20 with reprex v2.0.2
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.