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
)How many paths could a tag travel from this branching node?
The initial values, based on observations
Should the first value of the Dirichlet vector be fixed to 1? Default value is FALSE.
Should the last value of the Dirichlet vector be fixed to 1? Default value is FALSE.
createDirichletVector(3)
#> [1] 1 0 0