predict.GauPro: Predict for class GauPro

View source: R/GauPro_S3.R

predict.GauProR Documentation

Predict for class GauPro

Description

Predict for class GauPro

Usage

## S3 method for class 'GauPro'
predict(object, XX, se.fit = F, covmat = F, split_speed = T, ...)

Arguments

object

Object of class GauPro

XX

new points to predict

se.fit

Should standard error be returned (and variance)?

covmat

Should the covariance matrix be returned?

split_speed

Should the calculation be split up to speed it up?

...

Additional parameters

Value

Prediction from object at XX

Examples

n <- 12
x <- matrix(seq(0,1,length.out = n), ncol=1)
y <- sin(2*pi*x) + rnorm(n,0,1e-1)
gp <- GauPro(X=x, Z=y, parallel=FALSE)
predict(gp, .448)

GauPro documentation built on April 11, 2023, 6:06 p.m.