powered by
Predict for class IGP
# S3 method for IGP predict(object, XX, se.fit = FALSE, ...)
Prediction from object at XX
Object of class IGP
Points to predict at
Whether the standard error prediction should be returned with the mean prediction
Additional parameters
n <- 12 x <- matrix(seq(0,1,length.out = n), ncol=1) y <- sin(2*pi*x) + rnorm(n,0,1e-1) gp <- IGP(package='laGP', X=x, Z=y, parallel=FALSE) predict(gp, .448)
Run the code above in your browser using DataLab