bartab: bartab

Description Usage Arguments Author(s) Examples

View source: R/bartab.R

Description

Plot the overlap of three groups with a barplot

Usage

1
bartab(x, y, z, names, skipNone = FALSE, ...)

Arguments

x

logical

y

logical

z

logical

names

a character vector of length 3

skipNone

remove the "none" group

...

further arguments passed on to barplot

Author(s)

Michael I. Love

Examples

1
2
3
4
5
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"))

rafalab/rafalib documentation built on April 17, 2021, 6:47 p.m.