pixelTable from biomass, age, land-cover and species cover dataR/prepInputObjects.R
makePixelTable.RdMake pixelTable from biomass, age, land-cover and species cover data
makePixelTable(
speciesLayers,
standAgeMap,
ecoregionFiles,
biomassMap,
rasterToMatch,
rstLCC,
printSummary = TRUE,
doAssertion = getOption("LandR.assertions", TRUE)
)A RasterStack or RasterLayer that
should contain species cover data in the study area
A rasterLayer of stand ages with attribute "imputedPixID"
A list with two objects: the ecoregionMap and a table summarizing
its information per pixelID. See ecoregionProducer.
raster of total stand biomass in t/ha. Biomass units are converted to g/m^2.
A RasterLayer objects to use as the template for all subsequent
raster operations (i.e., the one used throughout the simulation).
raster of land-cover class, e.g., LCC2005
Logical. If TRUE, the default, a print out of the
summary(pixelTable) will occur.
A logical indicating whether some internal tests should be run to
ensure the function is running correctly.
Default: getOption("LandR.assertions", TRUE).
A data.table as many rows as non-NA pixels in rasterToMath and
the columns containing pixel data from the input raster layers, with
biomass in g/m^2.