## `summarise()` has grouped output by 'CAP', 'CAP_str'. You can override using
## the `.groups` argument.
## Warning in brewer.pal(100, "Blues"): n too large, allowed maximum for palette Blues is 9
## Returning the palette you asked for with that many colors

mapview

is intended to provide a quick and easy way to visualize/plot spatial data in an interactive manner. As such, a one-liner is enough to produce an interactive map view of the data. Methods are defined for all objects from packages sf, sp, raster and satellite

Including Plots

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.