View source: R/createDirichletVector.R
createDirichletVector | R Documentation |
Construct appropriate Dirichlet vector to pass to JAGS, based on which branches had observed tags, and which did not.
createDirichletVector(
n_branches = NULL,
init_vals = NULL,
initial_one = T,
final_one = F
)
n_branches |
How many paths could a tag travel from this branching node? |
init_vals |
The initial values, based on observations |
initial_one |
Should the first value of the Dirichlet vector be fixed to 1? Default value is |
final_one |
Should the last value of the Dirichlet vector be fixed to 1? Default value is |
Kevin See
createDirichletVector(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.