function, using a Monte Carlo Markov Chain
mcmc_nltt(
phy,
likelihood_function,
parameters,
logtransforms,
iterations,
burnin = round(iterations/3),
thinning = 1,
sigma = 1
)
mcmc An MCMC object, as used by the package "coda".
phylo Vector of weights
function Function that calculates the likelihood of our diversification model, given the tree. function should be of the format function(parameters, phy).
vector Initial parameters to start the chain.
scalar Whether to perform jumps on logtransformed parameters (TRUE) or not (FALSE)
scalar Length of the chain
scalar Length of the burnin, default is 30% of iterations
scalar Size of thinning, default = 1
scalar Standard deviation of the jumping distribution, which is N(0, sigma).