util.number_na: Count Number of 'NA' Values in a 'data.frame'

Description Usage Arguments Details Value Examples

View source: R/util.R

Description

This method counts the number of NA values for each column of a given data.frame.

Usage

1

Arguments

data

data.frame in which the number of NA values is counted for each column.

Details

This method takes a data.frame as an input and then counts the number of NA values in each column. The results get stored in a numeric vector (always together with the column name).

Value

Named num (being a numeric vector also containing the column name for each numeric value) indicating the number of NA values for each column in data.

Examples

1
 KaggleHouse:::util.number_na(data_train)

MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.