strsort {HardyWeinberg}R 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))

[Package HardyWeinberg version 1.7.8 Index]