R/strsort.R

Defines functions strsort

Documented in strsort

strsort <-
function(s) {
  paste(sort(unlist(strsplit(s, ""))), collapse = "")  
}

Try the HardyWeinberg package in your browser

Any scripts or data that you put into this service are public.

HardyWeinberg documentation built on May 7, 2022, 5:05 p.m.