sortCharAsNum: Character vector numeric sorting

View source: R/sampleCompute.R

sortCharAsNumR Documentation

Character vector numeric sorting

Description

Performs sorting of a vector of characters numerically, if possible

Usage

sortCharAsNum(char.vec, ...)

Arguments

char.vec

a character vector, describing numbers.

...

other parameters controlling the order treatment of the character vector.

Details

sortCharAsNum performs sorting of a vector of characters numerically, if possible

Value

the character vector sorted, if possible.

See Also

computeSemiSupervised, KwaySSSC

Examples

x <- c("12", "8", "101")

sortCharAsNum(x)


RclusTool documentation built on May 29, 2024, 5:23 a.m.