When trying to plot a dotmap with tmap:
tm_shape(points)+ tm_dots(col="Party")+ tm_shape(districts)+ tm_borders(alpha=0.5)+ tm_legend()
I want the points to remain at their original scale, but want the symbols in the legend to be larger, as right now they are the same size of the individual dots and thus very hard to see. If possible, I'd like to have them in rectangles.
This is how
summary() on my dataset looks like:
Party geometry Length:61457 POINT :61457 Class :character epsg:3006 : 0 Mode :character +proj=utm ...: 0