Variations Variations or -permutations of are the different ordered arrangements of a -element subset of an -set. Syntax variations(Integer, Integer) variations(List | Vector, Integer) Description variations(Integer, Integer) Given two integers and , , computes all possible arrangements described above. variations(List | Vector, Integer) Given a list or a vector with elements and , , returns a list with all the -subsets. Related functions Variations with repetition, Combinations, Combinations with repetition, Permutations, Permutations with repetition Table of Contents Syntax Description Related functions