View source: R/ThetaMater.M1.R
ThetaMater.M1 | R Documentation |
This function returns a list of each step in the MCMC sampling chain
ThetaMater.M1(k.vec, l.vec, n.vec, c.vec, ngens, burnin, thin, theta.shape,
theta.scale)
k.vec |
Vector of mutation counts |
l.vec |
Vector of locus lengths |
n.vec |
Vector of sample numbers |
c.vec |
Vector of data pattern counts |
ngens |
Number of generations to run the MCMC |
burnin |
Number of generations to discard as burnin |
thin |
Number of generations to thin in the MCMC chain |
theta.shape |
Shape parameter of the gamma distribution for setting the prior on theta |
theta.scale |
Scale parameter of the gamma distribution for setting the prior on theta |
library(Rcpp)
library(ThetaMater)
library(MCMCpack)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.