plotParDiffTree: Plot parameter differences

View source: R/plotParDiffTree.R

plotParDiffTreeR Documentation

Plot parameter differences

Description

Visualizes parameter differences between post-split nodes with different plot types.

Usage

plotParDiffTree(
  tree,
  plot = "ballon",
  measure = "wald",
  normalize = FALSE,
  title = TRUE,
  structure = FALSE
)

Arguments

tree

a semtree object.

plot

a character that specifies the plot typ. Available plot types are "ballon" (default), "heatmap", and "bar".

measure

a character. "wald" (default) gives the squared parameter differences divided by their pooled standard errors. "test" gives the contributions of the parameters to the test statistic. "raw" gives the absolute values of the parameter differences.

normalize

logical value; if TRUE parameter differences of each split are divided by sum of all differences the corresponding split. Set to FALSE by default.

title

logical value; if TRUE a title is added to the plot.

structure

logical value; if TRUE the structure of the tree is plotted on the right side.

Author(s)

Manuel Arnold


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