Usage
compare(x, ..., extent=TRUE, rowcol=TRUE, prj=TRUE, res=FALSE, orig=FALSE, tolerance=0.05, 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
prj
Logical. If TRUE
projections are compared.
res
Logical. If TRUE
, resolutions are compared (redundant when checking extent and rowcol)
orig
Logical. If TRUE
, origins are compared
tolerance
Numeric, difference permissable (relative to the cell resolution) for objects to be 'equal', for non integer numbers in origin and resolution. See ?all.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