library(ggplot2)
data(oregon)
ggplot(oregon, aes(fill = ndv / (ndv + nrv))) +
geom_sf(size = 0) +
scale_fill_538(name = "") +
view_box(county == "Multnomah", oregon) +
theme_map()
ggplot(oregon, aes(fill = ndv / (ndv + nrv))) +
geom_sf(size = 0) +
scale_fill_538(name = "") +
crop_to(county == "Multnomah", oregon) +
theme_map()
Run the code above in your browser using DataLab