powered by
Interpret basic over-ride flags
naaccr_override(flag)
A logical vector with the interpreted values of flag. The interpretation follows these rules: "1" goes to TRUE
logical
flag
"1"
TRUE
(reviewed and confirmed as reported), "" (blank) goes to
""
FALSE (not reviewed or reviewed and corrected), and all other values go to NA.
FALSE
NA
Character vector of over-ride flags. Its values should only include "" (blank), "1", and possibly NA.
naaccr_override(c("", "1", NA, "9"))
Run the code above in your browser using DataLab