make.truth.table: Make a truth table

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

make.truth.tableR Documentation

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.

Author(s)

Richard Cotton

See Also

expand.grid

Examples

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

VennDiagram documentation built on April 13, 2022, 1:06 a.m.