missing_to_na: Recursively map all missing values to 'NA'.

View source: R/missing.R

missing_to_naR Documentation

Recursively map all missing values to NA.

Description

Traverse a recursive list and map missing values to NA. Missing values are:

  • NULL

  • "NR"

Usage

missing_to_na(lst, na = NA_character_)

Arguments

lst

A list.

Details

Note: This function is case sensitive on "NR", i.e., it will leave "nr" untouched.

Value

A list whose missing values have been replaced by NA.


gwasrapidd documentation built on May 29, 2024, 4:31 a.m.