Description Usage Arguments Details Value
View source: R/uniquePermutations.R
This function accepts a data frame where columns are filled with integers. The order of these integers in each row matters (hence are conisdered permutations). It returns all possiable permutations that can be achieved given the unique counts in each column of the data frame.
1 |
df |
Data frame of property meta-data in integer format (e.g. bathroom and bedroom counts). NAs are allowed. |
Please note: (1) NAs are NOT considered in the computation, (2) the retived list of permutations may contains permutation instances that do not exists in input data frame, (3) the output list of integer vectors may not be sorted.
List of all possiable permutations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.