plot.tgp | R Documentation |
A generic function for plotting of "tgp"
-class objects.
1-d posterior mean and error plots, 2-d posterior mean and
error image and perspective plots, and 3+-dimensional mean and error
image and perspective plots are supported via projection
and slicing.
## S3 method for class 'tgp'
plot(x, pparts = TRUE, proj = NULL, slice = NULL,
map = NULL, as = NULL, center = "mean", layout = "both",
main = NULL, xlab = NULL, ylab = NULL, zlab = NULL, pc = "pc",
gridlen = c(40,40), span = 0.1, pXX = TRUE,
legendloc = "topright", maineff = TRUE, mrlayout="both",
rankmax = 20, ...)
x |
|
pparts |
If |
proj |
1-or-2-Vector describing the dimensions to be shown in a
projection. The argument is ignored for 1-d data, i.e., if |
slice |
|
map |
Optional 2-d map (longitude and latitude) from maps to be shown on top of image plots |
center |
Default |
as |
Optional string indicator for plotting of adaptive sampling
statistics: specifying |
layout |
Specify whether to plot the mean predictive surface
( |
main |
Optional |
xlab |
Optional |
ylab |
Optional |
zlab |
Optional |
pc |
Selects perspective-posterior mean and image-error plots
( |
(only valid for 2-d plots)
gridlen |
Number of regular grid points for 2-d slices and
projections in x and y. The default of |
span |
Span for |
pXX |
scalar logical indicating if |
legendloc |
Location of the |
maineff |
Format for the plots of sensitivity analyses produced
with |
mrlayout |
The plot layout for double resolution
tgp objects with |
rankmax |
When |
... |
Extra arguments to 1-d ( |
The only output of this function is beautiful plots
This plotting function is provided with the intention that it
will be used as an aid in the visualization of "tgp"
-class
objects. Users are encouraged to use the source code for
this function in order to develop custom plotting functions.
1-d projections for 3-d or higher data are also available
by specifying a 1-d projection argument (e.g. proj=c(1)
for projecting onto the first input variable).
For examples, see vignette("tgp")
and the
help files of those functions in "See Also", below
Robert B. Gramacy, rbg@vt.edu, and Matt Taddy, mataddy@amazon.com
https://bobby.gramacy.com/r_packages/tgp/
plot
, bgpllm
, btlm
,
blm
, bgp
, btgpllm
,
predict.tgp
,
tgp.trees
, mapT
, loess
, sens
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.