plotTreeStructure: Plot tree structure

View source: R/plotTreeStructure.R

plotTreeStructureR Documentation

Plot tree structure

Description

Plots the structure of a semtree object. This function is similar to plot.semtree, but it does not print the parameter values in the leaf nodes and labels the leaf nodes instead.

Usage

plotTreeStructure(tree, type = 2, no.plot = FALSE, ...)

Arguments

tree

a semtree object.

type

Type of plot. See prp from rpart.plot.

no.plot

logical value; if TRUE structure of the tree is printed to the console.

...

additional arguments passed to prp from rpart.plot.

Author(s)

Manuel Arnold


semtree documentation built on Nov. 26, 2023, 5:07 p.m.