Converts a parameter to XML
Arguments
- parameter
a parameter, as created by
create_param
)- beauti_options
one BEAUti options object, as returned by
create_beauti_options
Examples
check_empty_beautier_folder()
parameter_to_xml(
create_alpha_param(id = 1),
beauti_options = create_beauti_options()
)
#> [1] "<parameter id=\"RealParameter.1\" estimate=\"false\" name=\"alpha\">0</parameter>"
check_empty_beautier_folder()