strsort: Sort tokens of a set of strings

View source: R/strsort.R

strsortR Documentation

Sort tokens of a set of strings

Description

Function strsort collapses all tokens of a vector of strings in a single string with sorted tokens

Usage

strsort(s)

Arguments

s

a vector of character strings

Value

a string

Author(s)

Jan Graffelman jan.graffelman@upc.edu

See Also

alleles

Examples

x <- c("AA","AB","BB","AC","CC")
print(strsort(x))

HardyWeinberg documentation built on May 29, 2024, 6:17 a.m.