sumRastersBySpecies: Function to sum rasters of species layers

sumRastersBySpeciesR Documentation

Function to sum rasters of species layers

Description

Function to sum rasters of species layers

Usage

sumRastersBySpecies(speciesLayers, layersToSum, filenameToSave, newLayerName)

Arguments

speciesLayers

A RasterStack or RasterLayer that should contain species cover data in the study area

layersToSum

names/indices of layers to be summed - optional

filenameToSave

file path to save output raster

newLayerName

name of the output raster layer


PredictiveEcology/LandR documentation built on June 7, 2024, 4:16 p.m.