Steps for Completion:
- Use the loan data and plot a histogram (use fill color=cadetblue4 and bins=10).
- Use facet_wrap() to plot the loan data for the different credit grades.
- Now, you will need to change the default options for facet_wrap, in order to produce the following plots. Use ?facet_wrap on the command line to view the options that can be changed.
Outcome:
Refer to the complete code at the following path: https://goo.gl/RheL2G. The answers to the questions are given here:
- scale=free_y.
- A, B, and C have maximum loan amounts below 10,000. (A, B, C, and D is also an acceptable answer.)
- F and G show uniform distributions.
- No, none of the distributions are normally distributed.