
Last chance! 50% off unlimited learning
Sale ends in
powerSet(x, rev = FALSE)
x
.
With rev = FALSE
(the defualt) the list is ordered such that all
subsets containing the last element of x
come after those which do not,
and so on.x
.powerSetMat
.powerSet(1:3)
powerSet(letters[3:5], rev=TRUE)
Run the code above in your browser using DataLab