tree_priors_to_xml_prior_distr: Creates the distribution section in the prior section of the...

View source: R/tree_priors_to_xml_distr.R

tree_priors_to_xml_prior_distrR Documentation

Creates the distribution section in the prior section of the distribution section of a BEAST2 XML parameter file.

Description

These lines start with '<distribution id='

Usage

tree_priors_to_xml_prior_distr(tree_priors, beauti_options)

Arguments

tree_priors

one or more tree priors, as returned by create_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()

richelbilderbeek/beastscriptr documentation built on Nov. 5, 2023, 8:36 p.m.