View source: R/clanToolsFunctions.R
extract.given.number | R Documentation |
Extract the N'th numbers from each individual string element in a vector.
extract.given.number(c("aa1","bbb tet 11 22 33"),3)
x |
is a vector of string values |
N |
= 1 means the first number, N = 2 means the second number etc. |
A vector with the numbers.
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.