Learn R Programming

mark (version 0.8.2)

sort_names: Sort by names

Description

Sort a vector by it's name

Usage

sort_names(x, numeric = FALSE)

Value

x sorted by its names()

Arguments

x

A named vector of values

numeric

If TRUE will try to coerce to numeric