Slicing and clamping of rasters

slice_clamp(
  raster_list = NULL,
  att_names = NULL,
  selected = NULL,
  clamp_raster = FALSE,
  clamp_params = NULL
)

Arguments

raster_list

a list of stars or RasterStack objects

att_names

character, the attributes corresponding to each band

selected

character, the selected attributes

clamp_raster

logical, if TRUE clamps the rasters using clamp_params

clamp_params

data.frame of parameters to clamp rasters using clamp_raster_sigmas()

Value

if clamp is FALSE a ggplot object, otherwise a named list with two elements, a ggplot object and a list of clamped rasters.