Learn R Programming

tidytidbits (version 0.3.2)

orderer_function_from_sorted_vectors: Orderer function for complex sorting

Description

If you want to order by multiple features and have sorted vectors for each feature which describe the intended order

Usage

orderer_function_from_sorted_vectors(...)

Arguments

...

k sorted vectors, in order of priority

Value

A function which takes (at least) k vectors This function will return an order for these vectors determined by the sorted vectors