Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

modeltree

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

Examples

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

## End(Not run)

RSA

Response Surface Analysis

v0.10.4
GPL (>= 2)
Authors
Felix Schönbrodt [cre, aut], Sarah Humberg [aut]
Initial release
2021-03-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.