dot-overlay: Overlaying function

Description Usage Arguments

Description

Used internally in overlayStacks. Function to be applied to each row of a data.table containing information of whether the species layer exists in the HQ and LQ data. Only overlays if data exists in both layers, otherwise returns the layer with data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
.overlay(
  SPP,
  HQ,
  LQ,
  hqLarger,
  highQualityStack,
  lowQualityStack,
  outputFilenameSuffix = "overlay",
  destinationPath
)

Arguments

SPP

data.table column of species layer name

HQ

data.table column of whether SPP is present in HQ layers

LQ

data.table column of whether SPP is present in LQ layers

highQualityStack

high quality list/stack of rasters (will be used preferentially)

lowQualityStack

low quality list/stack of rasters (will be used to fill NAs in highQualityStack)

outputFilenameSuffix

file suffix to save raster if there was overlaying. Defaults to "overlay".

destinationPath

directory for saved rasters


PredictiveEcology/LandR documentation built on Jan. 24, 2021, 12:52 a.m.