| bartab | R Documentation | 
Plot the overlap of three groups with a barplot
bartab(x, y, z, names, skipNone = FALSE, ...)
| x | logical | 
| y | logical | 
| z | logical | 
| names | a character vector of length 3 | 
| skipNone | remove the "none" group | 
| ... | further arguments passed on to  | 
Michael I. Love
set.seed(1)
x <- sample(c(FALSE,TRUE), 10, replace=TRUE)
y <- sample(c(FALSE,TRUE), 10, replace=TRUE)
z <- sample(c(FALSE,TRUE), 10, replace=TRUE)
bartab(x,y,z,c("X","Y","Z"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.