Learn R Programming

charcuterie (version 0.0.4)

sort.chars: Sort a chars Object

Description

Sort a chars Object

Usage

# S3 method for chars
sort(x, decreasing = FALSE, ...)

Value

a sorted chars object.

Arguments

x

a chars object.

decreasing

logical. Should the sort be increasing or decreasing? Not available for partial sorting.

...

further arguments passed to or from other methods.

Examples

Run this code
sort(chars("alphabet"))

Run the code above in your browser using DataLab