make.truth.table: Make a truth table

Description Usage Arguments Value Author(s) See Also Examples

View source: R/make.truth.table.R

Description

Makes a truth table of the inputs.

Usage

1

Arguments

x

A short vector.

Value

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

Author(s)

Richard Cotton

See Also

expand.grid

Examples

1
## Not run: make.truth.table(c(a = 1, b = 2, c = 3, d = 4))

Example output

Loading required package: grid
Loading required package: futile.logger

VennDiagram documentation built on Oct. 30, 2021, 5:06 p.m.