Skip to contents

calculate derivative.

Usage

calculate_derivative(
  raster,
  derivative_name,
  edges,
  extent = NULL,
  ext = NULL,
  filename = NULL
)

Arguments

raster

terra SpatRaster of normalized capture data.

derivative_name

a character, lower case name of calculated difference.

edges

numeric vector of two for the difference.

extent

an extent or SpatVector used to subset SpatRaster. Defaults to the entire SpatRaster.

ext

character, a graphic format extension.

filename

NULL (default) to write automatically into products, provide full path and ext to override.

Value

one layer terra SpatRaster with calculated derivative values.