modeltree: Plots a flow chart with model comparisons

View source: R/modeltree.R

modeltreeR Documentation

Plots a flow chart with model comparisons

Description

Plots a flow chart with model comparisons from a RSA object

Usage

modeltree(x, digits = 3, sig = 0.05, borderline = 0.1, ...)

Arguments

x

A cRSA object (= output from the compare function)

digits

The number of digits to which numbers are rounded

sig

Threshold for models to be marked as "not significant"

borderline

Threshold for models to be marked as "borderline significant" (used for color of arrows)

...

Additional parameters (not used yet)

Details

The plot can be either requested within the compare function: compare(r1, plot=TRUE) Or it can be plotted from a cRSA object (= output from the compare function): c1 <- compare(r1) plot(c1)

See Also

RSA, compare

Examples

## Not run: 
data(motcon)
r.m <- RSA(postVA~ePow*iPow, motcon)
c1 <- compare(r.m)
modeltree(c1)

## End(Not run)

nicebread/RSA documentation built on April 19, 2024, 6:38 p.m.