library(magrittr) # pipes library(dplyr) # data manipulation library(caret) # flexible machine learning library(DT) # interactive tables library(readr) # reading in csv library(rpart) # trees library(rpart.plot) # plotting trees library(pROC) # ROC curves set.seed(123) # for reproducibility
con <- url("https://www.gerkovink.com/erasmus/Day%202/Part%20D/titanic.csv") titanic <- read_csv(con, show_col_types = FALSE)