Description Usage Arguments Value Author(s)
sort a vector of words numerically, as opposed to alphanumerically. If your words contain a number, eg string1, string2, string3, ..., string10 then the standard sort would return string10, string1, string2, ... and converting to numeric would fail.
1 |
x |
character vector where each word may contain a number |
decreasing |
logical: Should the sort be increasing or decreasing? Not available for partial sorting. |
a sorted charcter vector
Mark Cowley, 2005-05-03
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.