Description Usage Arguments Value
View source: R/outliers_missing_treatment.R
#' analysis_nas
is for understanding the reason for missing data and understand distribution of missing data so we can categorise it as:
missing completely at random(MCAR)
Mmissing at random(MAR), or
missing not at random, also known as IM.
1 2 3 4 5 6 7 8 9 |
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. |
A data.frame with outliers analysis for each variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.