sort_list_by {SerolyzeR}R Documentation

Sort a flat list by value

Description

Sort a flat list by value

Usage

sort_list_by(list_obj, decreasing = FALSE, value_f = function(elem) elem)

Arguments

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.


[Package SerolyzeR version 1.3.0 Index]