posterior_samples {vICC} | R Documentation |
Extract Posterior Samples
Description
Extract posterior samples for vicc
objects
Usage
posterior_samples(object)
Arguments
object |
An object of class |
Value
An object of class data.frame
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")
samps <- posterior_samples(fit)
[Package vICC version 1.0.0 Index]