powered by
Merge a primary raster with other rasters weighted by scaling factors.
util_merge(primary_nlm, secondary_nlm, scalingfactor = 1, rescale)# S3 method for RasterLayer util_merge(primary_nlm, secondary_nlm, scalingfactor = 1, rescale = TRUE)
# S3 method for RasterLayer util_merge(primary_nlm, secondary_nlm, scalingfactor = 1, rescale = TRUE)
Primary Raster* object
Raster* object
A list or stack of Raster* objects that are merged with the primary Raster* object
Weight for the secondary Raster* objects
Raster* objects
If TRUE (default), the values are rescaled between 0-1.
TRUE
Rectangular matrix with values ranging from 0-1
# NOT RUN { x <- util_merge(gradient_landscape, random_landscape) show_landscape(x) # }
Run the code above in your browser using DataLab