Usage
plot.tgp(x, pparts = TRUE, proj = NULL, slice = NULL, map = NULL,
main = NULL, xlab = NULL, ylab = NULL, zlab = NULL, pc = "pc", ...)
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
2-Vector describing the dimensions to be shown in a
projection. NULL
defaults to proj=c(1,2)
. Argument
is ignored for 1-d data, i.e., if x$d == 1
, and has
priority over the next argument (slice
)
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 be fix
map
Optional 2-d map (longitude and latitude)
from library(maps)
to be shown on top of image plots
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
Chooses between perspective posterior mean and image error plots
(pc = "pc"
, the default) or a double-image plot (pc = "c"
)
...
Extra arguments to 1-d (plot
) and 2-d plotting functions
persp
and image