Description Usage Arguments Value Examples
Plots the Quantile output from quantKrig if there is only one input.
1 2 |
QKResults |
Output from the quantKrig function. |
X1 |
X values if ploting the original data in the background |
Y1 |
Y values if ploting the original data in the background |
main |
Plot Title defaults to Fitted Quantiles |
xlab |
Label for x-axis defaults to X |
ylab |
Label for y-axis defaults to Y |
colors |
Customize colors associated with the quantiles |
A ggplot object
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)
Ystar <- rnorm(length(Ystar),Ystar,1)
Ystar <- (Ystar - mean(Ystar)) / sd(Ystar)
Xstar <- (Xstar - min(Xstar)/ max(Xstar) - min(Xstar))
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)
QuantPlot(Qout, Xstar, Ystar)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.