Description Usage Arguments Details Value Author(s)
View source: R/interpolation_krigingdrift.R
Function overlays the ground stations and the grid and interpolates using autokrige from the autoKrige
.
1 2 3 | interpolation_krigingdrift(groundstations, method.overlay = "extract",
formula, variable, grid_drift, blocksize = 20000, mxdkrige = Inf,
mod = "Exp", conditional.sim = FALSE)
|
groundstations |
Data from the ground station in spatial format without na values |
method.overlay |
Method to overlay the points and the grid, choose between over (1 cell) and extract function (which averages over 4 nearest cells) |
formula |
formula used for the kriging interpolation |
variable |
the variable of the groundstations you want to interpolate |
grid_drift |
trend grid for the interpolation with same spatial extent as groundstations |
blocksize |
kriging interpolation variable, with a standard value of 20000 |
mxdkrige |
kriging interpolation variable, with a standard value of Inf |
mod |
kriging interpolation variable, standard set to "Exp" |
conditional.sim |
boolean, TRUE or FALSE. Standard set to FALSE as this simulation takes more time, nmax=30 and nsim=4. |
after running this function take a look at get_statistical_summary
returns a list with the kriging interpolation output and a dataframe with the difference between your observations and predicted grid
Marieke Dirksen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.