Now, let's understand the underlying structure of the data using the following steps. This may involve certain type conversions, which are mentioned as follows:
- Check the summary of the dataset created:
> summary(bank)
age job marital education default
Min. :18.00 Length:11162 Length:11162 Length:11162 Length:11162
1st Qu.:32.00 Class :character Class :character Class :character Class :character
Median :39.00 Mode :character Mode :character Mode :character Mode :character
Mean :41.23
3rd Qu.:49.00
Max. :95.00
balance housing loan contact day
Length:11162 Length:11162 Length:11162 Length:11162 Min. : 1.00
Class :character Class :character Class :character Class :character 1st Qu.: 8.00
Mode :character Mode :character Mode :character Mode :character Median :15.00
Mean :15.66
3rd Qu.:22.00
Max. :31.00
...