util_merge {landscapetools} | R Documentation |
util_merge
Description
Merge a primary raster with other rasters weighted by scaling factors.
Usage
util_merge(primary_nlm, secondary_nlm, scalingfactor = 1, rescale)
## S3 method for class 'RasterLayer'
util_merge(primary_nlm, secondary_nlm,
scalingfactor = 1, rescale = TRUE)
Arguments
primary_nlm |
Primary |
secondary_nlm |
A list or stack of |
scalingfactor |
Weight for the secondary |
rescale |
If |
Value
Rectangular matrix with values ranging from 0-1
Examples
x <- util_merge(gradient_landscape, random_landscape)
show_landscape(x)
[Package landscapetools version 0.5.0 Index]