Venn Diagram with Item labels

后端 未结 2 637
遥遥无期
遥遥无期 2020-12-09 10:38

Suppose I have two vectors

foo <- c(\'a\',\'b\',\'c\',\'d\')
baa <- c(\'a\',\'e\',\'f\',\'g\')

Does anyone know of a way to produce a

2条回答
  •  不知归路
    2020-12-09 11:07

    Using the RAM package:

    library(RAM)
    foo <- c('a','b','c','d')
    baa <- c('a','e','f','g')
    group.venn(list(foo=foo, baa=baa), label=TRUE, 
        fill = c("orange", "blue"),
        cat.pos = c(0, 0),
        lab.cex=1.1)
    

提交回复
热议问题