allsubsets {proptest} | R Documentation |
The function generates all subsets of the set {1,...,n}.
allsubsets(n)
n |
the number of elements of the set whose subsets are to be returned. |
Returns a 2^n by n matrix of logical values. Each row corresponds to one subset.
This functions is used in the all subsets variant of the
data-driven smooth tests of the proportional hazards assumption,
see smoothproptest
.
David Kraus, http://www.davidkraus.net/
allsubsets(4)