is_pubmed_id {gwasrapidd} | R Documentation |
Is a string a PubMed ID?
Description
Find which strings are valid PubMed IDs (returns TRUE
). PubMed IDs are
tested against the following regular expression: ^\\d+$
.
Usage
is_pubmed_id(str, convert_NA_to_FALSE = TRUE)
Arguments
str |
A character vector of strings. |
convert_NA_to_FALSE |
Whether to treat |
Value
A logical vector.
[Package gwasrapidd version 0.99.18 Index]