is_pgs_id {quincunx} | R Documentation |
Is a string a PGS Catalog identifier?
Description
Find which strings are valid PGS Catalog identifiers (returns TRUE
).
Association IDs are tested against the following regular expression:
^PGS\\d{6}$
.
Usage
is_pgs_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 quincunx version 0.1.10 Index]