Chapter 6 Raster-vector interactions

Learning objectives:

  • Raster cropping/masking

  • Extracting raster value with vector data

  • Raster <-> vector conversion i

library(sf)
library(terra)
library(dplyr)