Learn R Programming

ggdmc (version 0.2.5.2)

run_many: Fit a Bayesian Model to multiple Participants

Description

Use either DE-MCMC or DGMC sampler to fit independent Bayesian model to many participants.

Usage

run_many(samples, report, ncore, pm, qm, gammamult, ngroup, force, sampler,
  slice)

Arguments

samples

a initialized samples list. Each element should contain samples for a participant.

report

progress report intervel

ncore

number of CPU cores

pm

probability of migration

qm

probability of mutation

gammamult

turning parameter for crossover sampler

ngroup

number of independent groups

force

PDA re-calculate interval

sampler

a string indicating to use which sampler

slice

a Boolean switch to do slice sampling