sort_list_by | R Documentation |
Sort a flat list by value
sort_list_by(list_obj, decreasing = FALSE, value_f = function(elem) elem)
list_obj |
A list to sort |
decreasing |
Should the sorting by decreasing or increasing |
value_f |
Function that expects a element of the list and returns a value to sort the list by. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.