Closed psolymos closed 5 years ago
Argument: weighting
Values:
"overlap"
is like as described above"always"
is weighting no matter whatOnly updated the weight layer (inst/extdata/wNorth.tif
), different weights can be applied post hoc by w * x$veg + (1 - w) * x$soil
.
N/S weighted average works as
ipa * veg + (1 - ipa) * soil
incombine_veg_soil
without considering if the region is overlap or not.Proposal: add
overlap_only=TRUE
as argument: this will combine pAspen raster with a dummy raster defining overlap (value=1), so the average isipa *dummy * veg + (1 - ipa * dummy) * soil
.