orderByNumberInStr: Order strings by numbers in them

View source: R/strWithNumber.R

orderByNumberInStrR Documentation

Order strings by numbers in them

Description

Order strings by numbers in them

Usage

orderByNumberInStr(str, ...)

Arguments

str

A vector of character trings

...

Passed to order, by default decreasing is TRUE, i.e. the descending order is reported.

See Also

factorByNumberInStr, which makes factors with levels ordered by numbers in the string

Examples

orderByNumberInStr(c("D1", "D10", "D15", "D3.5"))

bedapub/ribiosGSEA documentation built on March 30, 2023, 3:26 p.m.