uniquePermutations: Compute all possiable property types given input meta-data in...

Description Usage Arguments Details Value

View source: R/uniquePermutations.R

Description

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.

Usage

1

Arguments

df

Data frame of property meta-data in integer format (e.g. bathroom and bedroom counts). NAs are allowed.

Details

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.

Value

List of all possiable permutations.


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.