sample_c_one {ddtlcm}R Documentation

Sample divergence function parameter c for a(t) = c / (1-t) through Gibbs sampler

Description

Sample divergence function parameter c for a(t) = c / (1-t) through Gibbs sampler

Usage

sample_c_one(shape0, rate0, tree_structure)

Arguments

shape0

shape of the Inverse-Gamma prior

rate0

rate of the Inverse-Gamma prior

tree_structure

a data.frame containing the divergence times and number of data points to the left and right branches of internal nodes on the tree

Value

a numeric value of the newly sampled c


[Package ddtlcm version 0.2.1 Index]