Skip to contents

Converts a `freq` parameter to XML

Usage

freq_param_to_xml(freq_param, beauti_options = create_beauti_options())

Arguments

freq_param

a `freq` parameter, as created by create_freq_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

check_empty_beautier_folder()

# The freq parameter must be initialized, i.e. have an ID
freq_param_to_xml(freq_param = create_freq_param(id = "1"))
#> [1] "<parameter id=\"freqParameter.s:1\" dimension=\"4\" lower=\"0.0\" name=\"stateNode\" upper=\"1.0\">0.25</parameter>"

check_empty_beautier_folder()