diff
Returns lagged differences.
## S4 method for signature 'SpatRaster' diff(x, filename="", ...)
x |
SpatRaster |
filename |
character. Output filename |
... |
additional arguments for writing files as in |
SpatRaster
s <- rast(system.file("ex/logo.tif", package="terra")) d <- diff(s)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.