Learn R Programming

genpathmox (version 1.1)

plot.plstree: Plot function for the pathmox segmentation tree

Description

The function plot.plstree allows to drow PATHMOX tree

Usage

# S3 method for plstree
plot(
  x,
  .root.col = "#CCFFFF",
  .node.col = "#99CCCC",
  .leaf.col = "#009999",
  .shadow.size = 0.003,
  .node.shadow = "#669999",
  .leaf.shadow = "#006666",
  .cex = 0.7,
  .seg.col = "#003333",
  .lwd = 1,
  .show.pval = TRUE,
  .pval.col = "#009999",
  .main = NULL,
  .cex.main = 1,
  ...
)

Arguments

x

An object of the class "plstree".

.root.col

Fill color of root node.

.node.col

Fill color of child nodes.

.leaf.col

Fill color of leaf.

.shadow.size

Relative size of shadows.

.node.shadow

Color of shadow of child nodes.

.leaf.shadow

Color of shadow of leaf nodes.

.cex

A numerical value indicating the magnification to be used for plotting text.

.seg.col

The color to be used for the labels of the segmentation variables.

.lwd

The line width, a positive number, defaulting to 1.

.show.pval

Logical value indicating whether the p-values should be plotted.

.pval.col

The color to be used for the labels of the p-values.

.main

A main title for the plot.

.cex.main

The magnification to be used for the main title.

...

Further arguments passed on to plot.plstree.

Author

Giuseppe Lamberti

References

Lamberti, G., Aluja, T. B., and Sanchez, G. (2016). The Pathmox approach for PLS path modeling segmentation. Applied Stochastic Models in Business and Industry, 32(4), 453-468. tools:::Rd_expr_doi("10.1002/asmb.2168")

Lamberti, G. (2015). Modeling with Heterogeneity, PhD Dissertation.

Sanchez, G. (2009). PATHMOX Approach: Segmentation Trees in Partial Least Squares Path Modeling, PhD Dissertation.

See Also

summary.plstree, print.plstree, pls.pathmox, bar_terminal, and bar_impvar