sort_based: Sort the elements based on a results of a function called on...

View source: R/sort_based.R

sort_basedR Documentation

Sort the elements based on a results of a function called on them.

Description

Sort the elements based on a results of a function called on them.

Usage

sort_based(x, .f)

Arguments

x

A vector or list.

.f

Called function.

Examples

sort_based(c("a22", "b33", "c15"), parse_number)


MarcellGranat/granatlib documentation built on July 9, 2023, 6:08 a.m.