This chapter shows examples of exploratory data analysis and machine learning techniques. R provides us with different datasets that can be used to experiment with the tools. In this chapter, we will use an interesting dataset about the Titanic passengers.
There are some facts that happened during the Titanic event, such as the policy of saving the women and children first and the privileges of the first social classes. In order to investigate what happened, we can use the data related to the event. The R dataset is about some passengers and it displays their personal data and who survived. First, we can explore some data in order to understand what happened. Then, starting from the personal data of other passengers, the goal of the machine learning model is forecasting which new passengers will survive.
In this chapter, we'll cover the following topics:
Exploring the data
Visualizing the data using simple charts
Exploring the data using machine learning...