NA_indicators_predict: Indicate which fields are NA

Description Usage Arguments Value

View source: R/feature_generation.R

Description

Takes the dataset, scans the given columns for values that have been listed as indicating NA, and adds a column indicating if this is a NA

Usage

1

Arguments

data

The new dataset, as a data.frame or data.table.

condition

Function to test if a value is missing. Should return true when a value is missing and false otherwise.

columns

The columns to check for missing values. Can be provided as logicals, integers, or characters

Value

The dataset with NA's properly processed.


jeroenvdhoven/datapiper documentation built on July 14, 2019, 9:34 p.m.