Learn R Programming

metacart (version 3.0.4)

plotPV: Visualization of a initial RE meta-tree with frequency coloring

Description

Plot function for a REmrt object. The plot shows the initial tree result of REmrt with the nodes being colored based on how often they appear as nodes in the amount of iterations given. The plot function uses the plot method from the package ggplot2

Usage

plotPV(x, iter = 10, c.pruning = 0, ...)

Value

A plot visualizing an RE meta-tree with node frequencies.

Arguments

x

A REmrt object.

iter

Amount of iterations for frequency check.

c.pruning

The pruning strictness value (used in the c * SD rule in the pruning process)

...

Additional arguments to pass.

Details

For categorical variables we recommend to use short names for levels to avoid overlapping labels at split points.