6.3 Exercise
- Use the code from above but change the model for which you generate the coefficient plot.
- Visualize a coefficient plot in which the outcome variable is
Infant.Mortality
instead ofFertility
. - And add an additional explanatory variable, namely
Examination
.
- Visualize a coefficient plot in which the outcome variable is
- Try to reduce the ink that is used in the plot above.