validColname | R Documentation |
Find valid string among character vector from approximate string
validColname(pattern, x)
pattern |
character string to be matched in the given character |
x |
a character vector where matches are sought |
returns NA in case of no matched string found or a character string in string vector x
a="dx"
b=c("Age","Sex","Dx")
validColname(a,b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.