whichNumeric | R Documentation |
Identify which members of a character vector will translate to numeric mode
whichNumeric(x)
x |
a vector |
position in the character of the elements that have numbers that can be extracted
test = c("123xyc","A","<LOQ","547.39", "<0.15")
whichNumeric(test)
extract.number(test[whichNumeric(test)])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.