Description Usage Arguments Value Examples
kriging
{kriging} is a simple and highly optimized ordinary kriging algorithm to plot
geographical data. This interface to the method allows to not just apply it to one data.frame but
to a list of data.frames. The result is reduced to the data.frame with the predicted values.
For a more detailed output kriging
{kriging} has to be called for the individual input
data.frames.
1 |
plist |
List of data.frames with point coordinates |
x |
index of data.frame column with x-axis spatial points. Defaults to 1 |
y |
index of data.frame column with y-axis spatial points. Defaults to 2 |
z |
index of data.frame column with z-axis spatial points. Defaults to 3 |
rdup |
switch to activate removal of double values for single horizontal positions in the input data.frames. Defaults to TRUE |
... |
Arguments to be passed to method |
list with data.frames which contains the predicted values along with the coordinate covariates
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | df1 <- data.frame(
x = rnorm(50),
y = rnorm(50),
z = rnorm(50) - 5
)
df2 <- data.frame(
x = rnorm(50),
y = rnorm(50),
z = rnorm(50) + 5
)
lpoints <- list(df1, df2)
surfacelist <- kriglist(lpoints, lags = 3, model = "spherical")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.