Description Usage Arguments Value Examples
Post Processing and plot of the prediction and the UP variance of a 1 dimension functions.
1 |
xverif |
verification points in 1 dimension. |
uppred |
UP prediction of xverif. |
x |
design points inputs. |
y |
design points outputs. |
Plot the predictions.
1 2 3 4 5 6 7 8 9 | library(UP)
x <- as.matrix(c(-2.6,-0.2, 1.7,-1.4,1.2,3))
y <- c(0.8, 0.5, 0.1, 0.3, 0, 0.4)
xverif <- seq(-3, 3, length.out =300)
krig <- krigingsm$new()
resampling <- UPClass$new(x, y, Scale =TRUE)
upsm <- UPSM$new(sm= krig, UP= resampling)
prediction <- upsm$uppredict(xverif)
plotUP1D(xverif, prediction, x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.