plotTAG {TAG} | R Documentation |
Main Effects Plots from a TAG Process
Description
This function produces the main effects plot from a TAG process.
Usage
plotTAG(object, include.legend = TRUE, legend.position = "bottomright")
Arguments
object |
object of class inheriting from "TAG". |
include.legend |
logical value indicating if the legend of the main effects plot is required. |
legend.position |
a character indicating the position of the legend. |
Details
The location of the legend is "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right", or "center".
Value
A main effects plot in the transformed scale of the response is returned.
References
Lin, L.-H. and Joseph, V. R. (2020) "Transformation and Additivity in Gaussian Processes",Technometrics, 62, 525-535. DOI:10.1080/00401706.2019.1665592.
See Also
TAG
for finding estimates for the parameters in a TAG process.
Examples
n <- 20
p <- 2
library(randtoolbox)
X <- sobol(n, dim = p, init = TRUE, scrambling = 2, seed = 20, normal = FALSE)
y <- exp(2*sin(0.5*pi*X[,1]) + 0.5*cos(2.5*pi*X[,2]))
ini.TAG <- initial.TAG(y, X)
par.TAG <- TAG(ini.TAG)
plotTAG(par.TAG)
[Package TAG version 0.5.1 Index]