sort_list_by {PvSTATEM}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 PvSTATEM version 0.2.2 Index]