Import Insurance data into R –
Using ggplot2, build an appropriate chart that shows the relationship between income and cost of claim –
Incorporate any categorical variable that you think is meaningful for the original chart (briefly justify your choice) –
Incorporate a trendline to your chart –
Set up appropriate titles for the chart and axis –
Use colors to make chart easier to follow –
If you perform any transformations, such as log, please briefly justify why it is needed and how it is helpful Please note: the instructions on variable choice and design are given vaguely intentionally. Make sure to choose your design carefully.
Read more here: Source link