powered by
powerset(set, sort = TRUE, nonempty = TRUE)
TRUE
set
sort == FALSE
powerset(c("A", "B", "C"), nonempty = FALSE) powerset(1:3, sort = FALSE, nonempty = TRUE)
Run the code above in your browser using DataLab