VennDiagram (version 1.6.20)

make.truth.table: Make a truth table

Description

Makes a truth table of the inputs.

Usage

make.truth.table(x)

Arguments

x

A short vector.

Value

A data frame with length(x) logical vector columns and 2 ^ length(x) rows.

See Also

expand.grid

Examples

Run this code
# NOT RUN {
make.truth.table(c(a = 1, b = 2, c = 3, d = 4))
# }

Run the code above in your browser using DataCamp Workspace