PowerSet {eDMA} | R Documentation |
Build the power set of the values {0,1,2,...,iK
}.
Description
Build the power set of the values {0,1,2,...,iK
}.
Usage
PowerSet(iK)
Arguments
iK |
|
Details
The function returns a list
of numeric
vectors with the indices representing all the 2^iK subsets.
The empty subset {} is represented by the numeric(0)
vector.
Value
, 4
An object of the class list
.
Author(s)
Leopoldo Catania & Nima Nonejad
Examples
library(eDMA)
PowerSet(5)
[Package eDMA version 1.5-3 Index]