Learn R Programming

creditmodel (version 1.0)

analysis_nas: Missing Analysis

Description

#' analysis_nas is the function for missing value analysis

Usage

analysis_nas(dat, class_var = FALSE, nas_rate = NULL, na_vars = NULL,
  mat_nas_shadow = NULL, dt_nas_random = NULL, ...)

Arguments

dat

A data.frame with independent variables and target variable.

class_var

Logical, nas analysis of the nominal variables. Default is TRUE.

nas_rate

A list contains nas rate of each variable.

na_vars

Names of variables which contain nas.

mat_nas_shadow

A shadow matrix of variables which contain nas.

dt_nas_random

A data.frame with random nas imputation.

...

Other parameters.

Value

A data.frame with outliers analysis for each variable.