lookiisrael.blogg.se

Earth mover distance
Earth mover distance






earth mover distance

Nevertheless there is also the possibility to provide utilization distributions objects with the same volume, i.e. Numeric, the maximal distance (in map units) over which locations are compared.įor easy interpretation of the results the utilization distributions objects compared should represent a probability surface, i.e. Logical, if FALSE (default) euclidean distances are calculated, if TRUE great circle distances will be used. Alternatively another set of rasters can be provided to compare with. Same class as provided in ' x', with the exception of RasterStack, RasterBrick and DBBMMStack, where in order to compare the utilization distributions stored within the layers of one object this argument can be left empty. In the case of SpatialPoints all points are weighted equally. In the case of a SpatialPointsDataFrame the first column of the data is used as weights. comparability is easiest when the sum of values is equal to 1. These objects can represent a probability surface, i.e. # S4 method for signature 'RasterLayer,RasterLayer'Ī Raster, RasterStack, RasterBrick, SpatialPoints, SpatialPointsDataFrame, DBBMM or DBBMMStack object. The earth mover's distance (EMD) quantifies similarity between utilization distributions by calculating the effort it takes to shape one utilization distribution landscape into another Usage # S4 method for signature 'SpatialPoints,SpatialPoints'Įmd(x,y, gc = FALSE, threshold = NULL.)








Earth mover distance