naReport: Create a naReport of a data.frame

Description Usage Arguments Examples

View source: R/naReport.R

Description

naReport will detect the NAs i around the variables in the dataframe and show the codes users may need for omit.

Usage

1
naReport(inputData,range = c(0, 0.4))

Arguments

inputData

The data frame to create report before modeling.

range

A vector of length 2 for the range of NA proportion. Variables with NA proportion less than range[1] will do nothing, Variables with NA proportion more than range[2] will be suggested to delete. Others will be suggested to remove the observations.

Examples

1
naReport(testData)

Lchiffon/preReport documentation built on May 8, 2019, 9:52 p.m.