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)
#> [,1]
#> [1,] 0.3162097