Learn R Programming

naaccr (version 3.1.1)

naaccr_override: Interpret basic over-ride flags

Description

Interpret basic over-ride flags

Usage

naaccr_override(flag)

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.

Arguments

flag

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

Examples

Run this code
  naaccr_override(c("", "1", NA, "9"))

Run the code above in your browser using DataLab