plot.quint: Visualisation of a Qualitative Interaction Tree

View source: R/plot.quint.R

plot.quintR Documentation

Visualisation of a Qualitative Interaction Tree

Description

Plot function for a quint object. The plot shows the result of quint: a binary tree with (a) splitting variable(s) and split point(s). The colors of the leaves of the tree correspond to the final subgroups: Subgroup 1 (P1), those patients for whom the mean treatment outcome (Y) is higher for Treatment A than B, is GREEN; Subgroup 2 (P2), those patients for whom the mean treatment outcome (Y) is higher for Treatment B than A, is RED, and Subgroup 3 (P3), those for whom the mean treatment outcome (Y) is about the same for both treatments, is GREY. Within the leaves the effect size d is displayed, with its 95 percent confidence interval. This effect size is the standardized mean difference between Treatment A and B. The plot function uses the plot method from the package partykit of Hothorn & Zeileis (2013).

Usage

## S3 method for class 'quint'
plot(x, digits = 2, ...)

Arguments

x

fitted tree of class quint.

digits

specified number of decimal places of the splitpoints in the graph (default is 2).

...

additional arguments to be passed.

Details

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

Author(s)

Cor Ninaber and Elise Dusseldorp

References

Torsten Hothorn and Achim Zeileis (2013). partykit: A Toolkit for Recursive Partytioning. R package version 0.1-5.

See Also

quint,quint.control,bcrp


quint documentation built on July 2, 2022, 1:07 a.m.