handle_na: Handle missing values Adjust missing values in data frame...

View source: R/handle_na.R

handle_naR Documentation

Handle missing values Adjust missing values in data frame (typically -99) to NA so they can be properly handled in further operations. Note this operation inserts NA's into the entire row in which there is a missing value.

Description

Handle missing values Adjust missing values in data frame (typically -99) to NA so they can be properly handled in further operations. Note this operation inserts NA's into the entire row in which there is a missing value.

Usage

handle_na(data, na_value, col)

Arguments

data

data frame or data table with missing values

na_value

The 'missing' value which will be translated to NA within data (typically -99)

col

Which column within data should be checked for missing values


Echisholm21/multivaR documentation built on March 30, 2022, 5:55 a.m.