run_bugs: run_bugs

Description Usage Arguments Details Value Author(s)

Description

run_bugs()

Usage

1
2
run_bugs(result, ob, MCMC, n.burnin, FULL, model = "SA_allele_model.jag",
  n.chains = 1)

Arguments

result

The result from the initialize_bugs() function

ob

object from dataformatting function

MCMC

The number of iterations in the MCMC

n.burnin

the burnin

FULL

Choose 1 for full Bayesian model (semi-supervised), but Choose 0 for separated estimation (supervised) of relative type frequencies

model

The path to the model file

n.chains

the number of chains

Details

a function that passes the formatted data to bugs

Value

A list

Author(s)

Thomas Rosendal


trosendal/kilde documentation built on June 1, 2019, 1:51 a.m.