naaccr_override {naaccr}R Documentation

Interpret basic over-ride flags

Description

Interpret basic over-ride flags

Usage

naaccr_override(flag)

Arguments

flag

Character vector of over-ride flags. Its values should only include "" (blank), "1", and possibly NA.

Value

A logical vector with the interpreted values of flag. The interpretation follows these rules: "1" goes to TRUE (reviewed and confirmed as reported), "" (blank) goes to FALSE (not reviewed or reviewed and corrected), and all other values go to NA.

Examples

  naaccr_override(c("", "1", NA, "9"))

[Package naaccr version 2.0.2 Index]