Skip to contents

Converts an alpha parameter to XML

Usage

alpha_parameter_to_xml(alpha_parameter, beauti_options)

Arguments

alpha_parameter

an alpha parameter, as created by create_alpha_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

remove_beautier_folder()
check_empty_beautier_folder()

# The alpha parameter must be initialized, i.e. have an ID
alpha_parameter_to_xml(
  alpha_parameter = 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()