View source: R/make.truth.table.R
make.truth.table | R Documentation |
Makes a truth table of the inputs.
make.truth.table(x)
x |
A short vector. |
A data frame with length(x)
logical vector columns and
2 ^ length(x)
rows.
Richard Cotton
expand.grid
## Not run: make.truth.table(c(a = 1, b = 2, c = 3, d = 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.