plot.vicc {vICC}R Documentation

Plot vicc Objects

Description

Plot the group-specific coefficients or the random effects.

Usage

## S3 method for class 'vicc'
plot(x, type = "coef", ...)

Arguments

x

An object of class vicc.

type

Character string. Which parameters should be plotted? The options are ranef and coef (the default).

...

Currently ignored.

Value

A ggplot object.

Examples


# congruent trials
congruent <- subset(flanker, cond == 0)

# subset 25 from each group
dat <- congruent[unlist(tapply(1:nrow(congruent),
                            congruent$id,
                            head, 25)), ]

# fit model
fit <- vicc(y  = dat$rt,
            group = dat$id,
            iter = 250,
            burnin = 10,
            type =  "customary")

plts <- plot(fit)


[Package vICC version 1.0.0 Index]