Learn R Programming

TAG (version 0.5.1)

plotTAG: 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.

Value

A main effects plot in the transformed scale of the response is returned.

Details

The location of the legend is "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right", or "center".

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab