DataExplorer을 활용한 EDA

DataExplorer를 통한 탐색적 데이터 분석
EDA
R
Published

February 9, 2023

1. DataExplorer

require(DataExplorer)
require(dataxray)
create_report(titanic_train, 
              config = configure_report(add_plot_qq=F,
                                        add_plot_prcomp = F,
                                        global_ggtheme = theme_classic(),
                                        ))

plot_histogram(titanic_train)
titanic_train$Survived <- as.factor(titanic_train$Survived)
plot_boxplot(titanic_train, by = 'Survived',
             ggtheme = theme_classic())
str(titanic_train)
dummify(titanic_train)


ExpReport(titanic_train,
          Target = 'Survived',
          op_file = 'temp.html')

2. dataxary

titanic_train |> 
  dataxray::make_xray() |> 
  view_xray()
Back to top