View source: R/strWithNumber.R
orderByNumberInStr | R Documentation |
Order strings by numbers in them
orderByNumberInStr(str, ...)
str |
A vector of character trings |
... |
Passed to |
factorByNumberInStr
, which makes factors with levels
ordered by numbers in the string
orderByNumberInStr(c("D1", "D10", "D15", "D3.5"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.