Skip to contents

Posterior mean and sd at theta

Usage

gp_predict(fit, theta)

Arguments

fit

See Usage.

theta

See Usage.

Examples

fit <- gp_fit(design = c(0, 0.25, 0.5, 0.75, 1), values = sin(2 * pi * c(0, 0.25, 0.5, 0.75, 1)))
gp_predict(fit, theta = 0.6)
#>        mean          sd 
#> -0.51084953  0.05067801