Assess non-forested pixels based on species cover data and land-cover

nonForestedPixels(
  speciesLayers,
  omitNonTreedPixels,
  forestedLCCClasses,
  rstLCC
)

Arguments

speciesLayers

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

omitNonTreedPixels

logical. Should pixels with classes in forestedLCCClasses be included as non-forested?

forestedLCCClasses

vector of non-forested land-cover classes in rstLCC

rstLCC

raster of land-cover class, e.g., LCC2005

Value

a logical vector of length ncell(rstLCC)

where TRUE indicates non-forested pixels where there is no species cover data, or a non-forested land-cover class