This is a collection of a basic set of codes implemented in R.
- ggplot2: For advanced and flexible data visualization.
- rpart: For decision tree modeling.
- rpart.plot: For plotting decision trees.
- e1071: For SVM and Logistic Regression models.
If you haven't installed R, download it from CRAN.
Open R or RStudio and run the following commands to install the required packages:
install.packages("ggplot2")
install.packages("rpart")
install.packages("rpart.plot")
install.packages("e1071")Execute each script individually to observe the data analysis and visualization outputs.