codesAgree | R Documentation |
Compares if a vector of codes is in a vector of reviewer codes.
codesAgree(codes, reviewer)
codes |
codes to compare |
reviewer |
reviewer's code – "gold" standard |
Particularly useful when combined with purrr::map_lgl
TRUE if the codes are in the reviewer otherwise FALSE
x <- '11-1011'
y <- c('11-1011','11-1031')
codesAgree(x,c("11-1011","11-1021"))
codesAgree(y,c("11-1021","11-1031"))
codesAgree(x,c("13-1011","11-1021"))
codesAgree(y,c("13-1011","11-1021"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.