combmat: table of combinations

Description Usage Arguments Value Author(s) Examples

Description

This function creates a table of binary masks representing combinations of statistics.

Usage

1
combmat(n,limit = NULL)

Arguments

n

number of statistics

limit

an optional (integer) value indicating whether to limit the table to subsets up to a certain size.

Value

m

The matrix of binary masks.

Author(s)

Matt Nunes

Examples

1
2
3
4
5
#
# Find all binary masks of a set of statistics {C1,C2,C3,C4},
# listing all singlets, pairs, triples and then the whole set:

combmat(4,TRUE)


Search within the abctools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.