LOOquants: Revaluate Quantiles

Description Usage Arguments Details Value Examples

View source: R/LOOquants.R

Description

Generates Leave-One-Out predictions for each location and quantile.

Usage

1
LOOquants(QKResults)

Arguments

QKResults

Output from the quantKrig function.

Details

Returns the estimated quantiles and a plot of the leave-one-out predictions against the observed values.

Value

Leave-one-out predictions at the input locations

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
X <- seq(0,1,length.out = 20)
Y <- cos(5*X) + cos(X)
Xstar <- rep(X,each = 100)
Ystar <- rep(Y,each = 100)
e <- rchisq(length(Ystar),5)/5 - 1
Ystar <- Ystar + e
lb <- c(0.0001,0.0001)
ub <- c(10,10)
Qout <- quantKrig(Xstar,Ystar, seq(0.05,0.95, length.out = 7), lower = lb, upper = ub)

LOOquants(Qout)

quantkriging documentation built on March 13, 2020, 2:54 a.m.