June 2017
Beginner to intermediate
576 pages
15h 22m
English
It can sometimes be a bit difficult to discern the differences between the categories based on the legend, especially as the number of categories increases, so we can use the directlables library to mark each line with the category name. Now we can see, for example, that ALL MALES has a higher uninsured rate than ALL FEMALES over all time periods:
#install.packages("directlabels")library(directlabels)direct.label(.plot, list(last.points, hjust = 0.75, cex = 0.75, vjust = 0))
