Returns a matrix containing the 2^p vectors of length p.
p
bincombinations(p)
Length of binary vectors
Friedrich Leisch
bincombinations(2) bincombinations(3)