dot-sortMid: Choose most frequent or middle of sorted vector

.sortMidR Documentation

Choose most frequent or middle of sorted vector

Description

This function chooses the (first) most frequent or middle of sorted vector

Usage

.sortMid(x, retVal = TRUE)

Arguments

x

(numeric) main input

retVal

(logical) return value of most frequent, if FALSE return index of (1st) 'x' for most frequent

Value

This function returns a numeric verctor

See Also

simple/partial functionality in summarizeCols, checkSimValueInSer

Examples

.sortMid(11:14)

wrMisc documentation built on Nov. 17, 2023, 5:09 p.m.