Usage
plot.tgp(x, pparts = TRUE, proj = NULL, slice = NULL, map = NULL,
as = NULL, layout = "both", main = NULL, xlab = NULL,
ylab = NULL, zlab = NULL, pc = "pc", method = "loess",
gridlen = 40, span = 0.1, ...)Arguments
x
"tgp" class object that is the output of one of
the tgp functions: blm, btlm
pparts
If TRUE, partition-regions are plotted (default),
otherwise they are not
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 x$d
== 1. For 2-d data, no projection needs be specified--- the
default argument (proj = NULL) will
slice
list object with x and z fields, which
are vectors of equal length describing the slice to be plotted, i.e.,
which z-values of the x$d - 2 inputs x$X and
x$XX should
map
Optional 2-d map (longitude and latitude)
from library(maps) to be shown on top of image plots
as
Optional string indicator for plotting of adaptive sampling
statistics: specifying as = "alm" for ALM, as = "alc" for ALC,
and as = "ego" for EGO. The default as = NULL
plots error-bars (1d-
layout
Specify whether to plot the mean predictive surface
(layout = "surf"), the error or adaptive sampling statistics
(layout = "as"), or default (layout = "both") which shows both
main
Optional character string to add to the main title of the plot
xlab
Optional character string to add to the x label of the plots
ylab
Optional character string to add to the y label of the plots
zlab
Optional character string to add to the z label of the plots;
ignored unless pc = "p"
pc
Selects perspective-posterior mean and image-error plots
(pc = "pc", the default) or a double-image plot (pc
= "c")
method
Method of interpolation onto a regular grid for
perspective and image plotting of 2-d slices and projections.
Ignored for 1-d plots and projections.
Default is method = "loess" which results in the
use of the built-in
gridlen
Number of regular grid points for 2-d slices and
projections. Default is gridlen = 40. Ignored for 1-d plots
and projections
span
Span for loess kernel. See
help(loess) for mode details. This argument is ignored for
1-d plots and projections, and 2-d plots with
method = "akima". The tgp ...
Extra arguments to 1-d (plot) and 2-d plotting functions
persp and image