powered by
Calculate the mean difference between two datasets as suggested by Wang et al. (2012).
# S4 method for SpatRaster meanDifference(x, y)# S4 method for numeric meanDifference(x, y)
# S4 method for numeric meanDifference(x, y)
The mean difference between the two inputs as numeric.
numeric
Pairwise objects of class SpatRaster, RasterLayer or numeric.
SpatRaster
RasterLayer
x <- 1:10 y <- 2:11 meanDifference(x, y)
Run the code above in your browser using DataLab