Converts a distribution to XML
Arguments
- distr
a distribution, as created by
create_distr
)- beauti_options
one BEAUti options object, as returned by
create_beauti_options
Examples
check_empty_beautier_folder()
distr_to_xml(
create_uniform_distr(id = 1),
beauti_options = create_beauti_options()
)
#> [1] "<Uniform id=\"Uniform.1\" name=\"distr\" upper=\"Infinity\"/>"
check_empty_beautier_folder()