find_id_col | R Documentation |
Search data frame names for the first matching candidate ID column name.
See details
.
find_id_col(data)
data |
a data.frame to search |
Column names will be searched against the following candidates
getOption("lastdose.id_col")
ID
USUBJID
SUBJID
PTNO
SUBJ
The first the first candidate to be matched will be returned. If there are no matches, an error is generated.
data <- data.frame(A = 1, B = 2, PTNO = 3, ID = 4, Z = 99)
lastdose:::find_id_col(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.