Learn R Programming

admixturegraph (version 1.0.2)

make_mcmc_model: Collect the information about a graph and a data set needed to run an MCMC on it.

Description

Collect the information about a graph and a data set needed to run an MCMC on it.

Usage

make_mcmc_model(graph, data)

Arguments

graph
The admixture graph to analyse.
data
The data set to compute the posterior over.

Value

A model object wrapping functions and data needed to sample from the MCMC.