The R package {usmap} provides a convenient way to create maps of the United States using {ggplot2}. You can easily draw borders around state boundary lines or even county boundary lines. For example, here is a basic map of the US generated from this package:
library(usmap)
plot_usmap()
However, what if I instead wanted to draw the boundary lines around groupings of states? So instead of having the boundary line around Texas drawn, the boundary line around Louisiana drawn, and the boundary line around Mississippi drawn, I would want the boundary around the total area of the combination of Texas, Louisiana, and Mississippi. In my specific application, I want to draw boundaries around the federal circuit court jurisdictions, so the result might look something like this, at least with respect to the thicker boundary lines drawn on this picture:
Does anyone know how I can accomplish this, preferably in {ggplot2}? Something I have tried looking into is calculating the alpha shape (using, e.g., the {alphahull} package), but I haven't quite figured out how to make that work for this task.