cbs_tree_prior_to_xml_prior_distr {beautier}R Documentation

Creates the tree prior section in the prior section of the prior section of the distribution section of a BEAST2 XML parameter file for a Birth-Death tree prior

Description

Creates the tree prior section in the prior section of the prior section of the distribution section of a BEAST2 XML parameter file for a Birth-Death tree prior

Usage

cbs_tree_prior_to_xml_prior_distr(cbs_tree_prior, beauti_options)

Arguments

cbs_tree_prior

a Coalescent Bayesian Skyline tree prior, as returned by create_cbs_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()

[Package beautier version 2.6.12 Index]