Rdk is an R-package of various functions that are sometimes handy when analysing data. It's largely undocumented.
Please use the issue tracker for questions.
install.packages("devtools")
library(devtools)
install_github("dakl/rdk")
library(Rdk)
layout(matrix(1:4, nc=2, byrow=TRUE))
venndia(A=1:6, B=3:9)
venndia(A=1:6, B=3:9, C=c(1,3,5,7,9))
venndia(A=1:6, B=3:9, C=c(1,3,5,7,9), alab = "KALLE", blab="OLLE", clab="blurg")
venndia(A=1:6, B=3:9, C=c(1,3,5,7,9), alab = "KALLE", blab="OLLE", clab="blurg", cex.text = 1, cex.num = 1) ## cex.text and cex.num defaults to 2
vd <- venndia(A=1:6, B=3:9, C=c(1,3,5,7,9), getdata = TRUE)
vd$AB
vd <- venndia(A=1:6, B=3:9, C=c(1,3,5,7,9), getdata = TRUE, plot = FALSE)
vd$AB
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.