Spatial interpolation with gstat::idw (inverse distance weighting) and gstat::krige (local ordinary krigging). Function OrdKrig is preparing simple .txt files for the use with krige and idw, performing interpolation and writing GEOtiff maps. Optimisation functions are available for krige and idw and can be used with optim or hydroPSO.
First install the package with:
install.packages("devtools") library(devtools) install_github("JBrenn/SpatialInterpol")
and then import the library with:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.