Uses thin plate spline regression from
fields
package to smooth raster values.
smoothRaster(inputRaster, fast = FALSE, ...)
An object of class raster
A logical operator. Setting to TRUE
triggers use
of fastTps
instead of Tps
.
For any additional arguments passed to Tps
or fastTps
An object of class RasterLayer
Original raster is smoothed using a thin
plate spline. This may be desirable in cases where
the user has a reasonable expectation of spatial autocorrelation,
but observes putative measurement errors in a raster. The user has
the option of choosing fastTps
to speed calculation,
but be advised that this is only an approximation
of a true thin plate spline.