sort_list_by: Sort a flat list by value

View source: R/helpers.R

sort_list_byR 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.


SerolyzeR documentation built on April 12, 2025, 2:11 a.m.