mapT | R Documentation |
Plot the maximum a' posteriori (MAP) tree from a "tgp"
-class
object, or add one on top of an existing plot. Like plot.tgp
,
projections and slices of trees can be plotted as specified
mapT(out, proj = NULL, slice = NULL, add = FALSE, lwd = 2, ...)
out |
|
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 |
|
add |
Specify whether the to add partitions to an existing plot
( |
lwd |
Plotting argument specifying the width of the lines used to depict the partitions |
... |
Additional arguments to |
The only output of this function is a beautiful region-representation of the MAP tree.
For examples, see vignette("tgp")
and the examples provided
in the documentation for the tgp.design
function
Robert B. Gramacy, rbg@vt.edu, and Matt Taddy, mataddy@amazon.com
https://bobby.gramacy.com/r_packages/tgp/
plot.tgp
, tgp.trees
,
tgp.design
, vignette("tgp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.