Generates an EDA report by plotting graphs and tables for the numeric variables, categorical variables, NA values and correlation in a dataframe

generate_report(dataframe, cat_vars, num_vars)

Arguments

dataframe

tbl. The dataframe to be inspected.

cat_vars

vector of character strings of the names of the categorical variables.

num_vars

vector of character strings of the names of the numeric variables.

Value

It returns True on successful execution else returns False

Examples

X <- dplyr::tibble(type = c('Car','Bus','Car'), height = c(10,20,30)) cat_vars <- c('type') num_vars <- c('height') generate_report(X, cat_vars, num_vars)
#> [[1]] #> [[1]]$summary #> # A tibble: 7 x 2 #> summary height #> <chr> <chr> #> 1 25% 15 #> 2 75% 25 #> 3 min 10 #> 4 max 30 #> 5 median 20 #> 6 mean 20 #> 7 sd 10 #> #> [[1]]$plot
#> #> #> [[2]]
#> #> [[3]] #> [[3]]$type #> [1] 1 1 1 #> #> [[3]]$height #> [1] 1 1 1 #> #> #> [[4]]
#>
#> [1] TRUE