Usage
compare(x, ..., extent=TRUE, rowcol=TRUE, crs=TRUE, res=FALSE, orig=FALSE,
rotation=TRUE, tolerance, stopiffalse=TRUE, showwarning=FALSE)
Arguments
...
Additional Raster* objects
extent
Logical. If TRUE, bounding boxes are compared
rowcol
Logical. If TRUE, number of rows and columns of the objects are compared
crs
Logical. If TRUE, coordinate reference systems are compared.
res
Logical. If TRUE, resolutions are compared (redundant when checking extent and rowcol)
orig
Logical. If TRUE, origins are compared
rotation
Logical. If TRUE, rotations are compared
tolerance
Numeric value between 0 and 0.5. If not supplied, the default value is used (see showOptions. It sets difference (relative to the cell resolution) that is permissable for objects to be considered 'equal stopiffalse
Logical. If TRUE, an error will occur if the objects are not the same
showwarning
Logical. If TRUE, an warning will be given if objects are not the same. Only relevant when stopiffalse is TRUE