plotEffects {quid} | R Documentation |
Plot a BFBayesFactorConstraint object
Description
Plots observed vs estimated individual effects for each level of the effect for which constraints are defined.
Usage
plotEffects(x, .raw = FALSE)
Arguments
x |
an object of class |
.raw |
if |
Value
A ggplot
object if .raw = FALSE
. A
data.frame
otherwise, with columns for ID, type of effect,
specified constraint, estimates, and ordering of estimate from smallest
to largest.
Examples
data(stroop)
resStroop <- constraintBF(rtS ~ ID*cond,
data = stroop,
whichRandom = "ID",
ID = "ID",
whichConstraint = c(cond = "2 > 1"),
rscaleEffects = c("ID" = 1, "cond" = 1/6, "ID:cond" = 1/10))
plotEffects(resStroop)
[Package quid version 0.0.1 Index]