sort.chars: Sort a 'chars' Object

View source: R/methods.R

sort.charsR Documentation

Sort a chars Object

Description

Sort a chars Object

Usage

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

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.

Value

a sorted chars object.

Examples

sort(chars("alphabet"))

charcuterie documentation built on April 3, 2025, 8:53 p.m.