smbinning.eda: Exploratory Data Analysis (EDA)

Description Usage Arguments Value Examples

View source: R/smbinning.R

Description

It shows basic statistics for each characteristic in a data frame. The report includes:

Usage

1
smbinning.eda(df, rounding = 3, pbar = 1)

Arguments

df

A data frame.

rounding

Optional parameter to define the decimal points shown in the output table. Default is 3.

pbar

Optional parameter that turns on or off a progress bar. Default value is 1.

Value

The command smbinning.eda generates two data frames that list each characteristic with basic statistics such as extreme values and quartiles; and also percentages of missing values and outliers, among others.

Examples

1
2
3
4
5
6
7
8
9
# Training and testing samples (Just some basic formality for Modeling)
pop=chileancredit # Set population
train=subset(pop,Rnd<=0.7) # Training sample
test=subset(pop,Rnd>0.7) # Testing sample
rm(chileancredit) # Remove original dataset

# EDA application
smbinning.eda(train,rounding=3)$eda # Table with basic statistics.
smbinning.eda(train,rounding=3)$edapct # Table with basic percentages.

smbinning documentation built on Nov. 17, 2017, 7:08 a.m.