Learn R Programming

briskaR (version 1.0.4)

brk_exposureMatch: Add raster value to element of sf object

Description

Add the raster value(s) of a Raster* object to element of sf object.

Usage

brk_exposureMatch(
  stackRaster_exposure,
  sf,
  stackTimeline,
  keyTime = "TIMELINE",
  key = "EXPOSURE"
)

Arguments

stackRaster_exposure

The Raster* object

sf

the sf object

stackTimeline

sequence with matching to elements of RasterStack (length of stackTimeline must be the same as length of a list of stackRaster_exposure)

keyTime

name of the column to match exposure timeline from stackRaster_exposure

key

name of the new column