Column names of thedata.frame used to definelevels in categoricalSpatRaster objects werechanged to (“id” and “category”) to prevent issues when reading suchobjects after writing them as raster files in local directories.
A new argument inmop andmop_distance(tol = NULL) allow users to play with the a tolerance valuewhen calculating Mahalanobis distances.
Euclidean distance calculation uses our c++ function to avoidnon-needed dependencies.
This is the first complete version of mop.