yule_tree_prior_to_xml_prior_distr: Creates the 'prior' section in the prior section of the prior...

View source: R/create_beast2_input_distr.R

yule_tree_prior_to_xml_prior_distrR Documentation

Creates the prior section in the prior section of the prior section of the distribution section of a BEAST2 XML parameter file for a Yule tree prior

Description

Creates the prior section in the prior section of the prior section of the distribution section of a BEAST2 XML parameter file for a Yule tree prior

Usage

yule_tree_prior_to_xml_prior_distr(
  yule_tree_prior,
  beauti_options = create_beauti_options()
)

Arguments

yule_tree_prior

a Yule tree_prior, as created by create_yule_tree_prior

beauti_options

one BEAUti options object, as returned by create_beauti_options

Value

lines of XML text

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

 # <distribution id="posterior" spec="util.CompoundDistribution">
 #     <distribution id="prior" spec="util.CompoundDistribution">
 #       HERE, where the ID of the distribution is 'prior'
 #     </distribution>
 #     <distribution id="likelihood" ...>
 #     </distribution>
 # </distribution>

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.