Learn R Programming

vICC (version 1.0.0)

pip: Posterior Inclusion Probabilities

Description

Extract the posterior inclusion probabilities (PIP) for either the random intercepts for sigma or the random effects standard deviation for sigma.

Usage

pip(object, ...)

Arguments

object

Ab object of class vicc.

...

Currently ignored.

Value

A data frame.

Examples

Run this code
# NOT RUN {
# 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 =  "pick_group")

pip(fit)
# }

Run the code above in your browser using DataLab