Description Usage Arguments Value Author(s)
Computes the gradient of the posterior mean and variance of the kriging model in object
at the points newdata
.
1 2 | gradKm_dnewdata(object, newdata, type, se.compute = TRUE,
light.return = FALSE, bias.correct = FALSE)
|
object |
a km object |
newdata |
a vector, matrix or data frame containing the points where to perform predictions. |
type |
a character corresponding to the type of kriging family ( |
se.compute |
an optional boolean indicating whether to compute the posterior variance or not. Default is TRUE. |
light.return |
an optional boolean indicating whether to return additional variables. Default is FALSE. |
bias.correct |
an optional boolean to correct bias in the UK variance. Default is FALSE. |
Returns a list containing
mean:
the gradient of the posterior mean at newdata
.
trend:
the gradient of the trend at newdata
.
s2:
the gradient of the posterior variance at newdata
.
Dario Azzimonti
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.