is_sas_na: Check if the elements could be of any SAS missing data...

View source: R/utils.R

is_sas_naR Documentation

Check if the elements could be of any SAS missing data variant

Description

Missing Data from sas7bdat imported datesets could be imported in different ways we currently check for 'NA', NA, '.', and ”.

Usage

is_sas_na(x)

Arguments

x

vector with data

Value

logical vector

Examples

is_sas_na(c(1,2,NA))

is_sas_na(c("a", NA, "NA", ""))

sdtmchecks documentation built on Sept. 11, 2024, 9:34 p.m.