gradKm_dnewdata {profExtrema} | R Documentation |
Gradient of posterior mean and variance
Description
Computes the gradient of the posterior mean and variance of the kriging model in object
at the points newdata
.
Usage
gradKm_dnewdata(object, newdata, type, se.compute = TRUE,
light.return = FALSE, bias.correct = FALSE)
Arguments
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. |
Value
Returns a list containing
mean:
the gradient of the posterior mean atnewdata
.trend:
the gradient of the trend atnewdata
.s2:
the gradient of the posterior variance atnewdata
.
Author(s)
Dario Azzimonti
[Package profExtrema version 0.2.1 Index]