calcU_All_Combs: Calculate all combinations of input raster values

calcU_All_CombsR Documentation

Calculate all combinations of input raster values

Description

Calculate all combinations of input raster values

Usage

calcU_All_Combs(
  myFHAnalysis = FHAnalysis,
  myCropRasters = cropRasters,
  myRasterRes = RasterRes,
  puPoly = NULL
)

Arguments

myFHAnalysis

list containing all the fire history spatial attributes created by function fhProcess()

myCropRasters

list of rasters and indices and cell values created by function cropToOutput()

myRasterRes

Resolution of Rasters to be used in the analysis set in settings file in R-script version needs to be set in shiny version

puPoly

either NULL if no planning unit polygons are to be included in the combinations or path to planning unit polygon shapefile covering the entire extent in VicGrid94 projection

Value

list of:

  • data.table giving all combinations of cell values from the input rasters for the FAME analysis

  • integer index mapping unique combinations (above) to raster cells


nevilamos/FAMEFMR documentation built on April 17, 2025, 9:32 p.m.