ver_order | R Documentation |
ver_order()
returns the permutation that rearranges a vector
of version codes alphanumerically.
ver_order(x)
x |
|
An integer vector (for details see order
).
ver_sort()
version_codes <- c("1.5-0", "1.4-1", "0.0.0.9000", "1.4-0a", "1.4-0") ver_order(version_codes) # The line below is the same as ver_sort(version_codes) version_codes[ver_order(version_codes)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.