Converts a parameter to XML

parameter_to_xml(parameter, beauti_options = create_beauti_options())

Arguments

parameter

a parameter, as created by create_param)

beauti_options

one BEAUti options object, as returned by create_beauti_options

Value

the parameter as XML text

Author

Richèl J.C. Bilderbeek

Examples

parameter_to_xml(create_alpha_param(id = 1))
#> [1] "<parameter id=\"RealParameter.1\" estimate=\"false\" name=\"alpha\">0</parameter>"