plotParDiffForest: Plot parameter differences

View source: R/plotParDiffForest.R

plotParDiffForestR Documentation

Plot parameter differences

Description

Visualizes parameter differences between post-split nodes in a forest with boxplots.

Usage

plotParDiffForest(
  forest,
  plot = "boxplot",
  measure = "wald",
  normalize = FALSE,
  predictors = NULL,
  title = TRUE
)

Arguments

forest

a semforest object.

plot

a character that specifies the plot typ. Available plot types are "boxplot" (default) and "jitter" for a jittered strip plot with mean and standard deviation.

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.

predictors

a character. Select predictors that are to be plotted.

title

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

Author(s)

Manuel Arnold


semtree documentation built on May 29, 2024, 4:05 a.m.