Learn R Programming

ggdmc (version 0.2.5.2)

run_one: Fit a Bayesian Model to a Single Participant

Description

Use either DE-MCMC or DGMC sampler to fit Bayesian model to a participant

Usage

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

Arguments

samples

a initialized sample

report

progress report intervel

pm

probability of migration

qm

probability of mutation

gammamult

tuning parameter of the 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 debug blocked sampling

Value

Bayesian samples