predict.IGP: Predict for class IGP

View source: R/IGP_S3.R

predict.IGPR Documentation

Predict for class IGP

Description

Predict for class IGP

Usage

## S3 method for class 'IGP'
predict(object, XX, se.fit = FALSE, ...)

Arguments

object

Object of class IGP

XX

Points to predict at

se.fit

Whether the standard error prediction should be returned with the mean prediction

...

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 <- IGP(package='laGP', X=x, Z=y, parallel=FALSE)
predict(gp, .448)

CollinErickson/UGP documentation built on Jan. 31, 2023, 11:26 a.m.