Skip to contents

Performs kriging prediction from a fitted Gaussian Process model.

Usage

# S3 method for class 'GP'
predict(object, xpred, cI = NULL, pI = NULL, splinefcns = NULL, ...)

Arguments

object

a Gaussian Process object (class GP) as returned by GaussProcess

xpred

value of x where prediction should be made

cI

credible interval quantiles, or NULL to skip

pI

prediction interval quantiles, or NULL to skip

splinefcns

optional list of spline functions for trend-surface adjustment

...

additional arguments (currently unused)

Value

Kriged predictions or a list of credible/prediction interval quantiles.

Author

Michael Dietze