Learn R Programming

abctools (version 0.2-2)

combmat: table of combinations

Description

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

Usage

combmat(n,limit = NULL)

Arguments

Value

mThe matrix of binary masks.

Rdversion

1.1

Examples

Run this code
#
# 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)

Run the code above in your browser using DataLab