s_parameter_to_xml {beautier}R Documentation

Internal function

Description

Converts an 's_param' to XML

Usage

s_parameter_to_xml(parameter, beauti_options)

Arguments

parameter

a s parameter, a numeric value. For advanced usage, use the structure as created by create_s_param)

beauti_options

one BEAUti options object, as returned by create_beauti_options

Value

the parameter as XML text

Author(s)

Richèl J.C. Bilderbeek

Examples

s_parameter_to_xml(
  create_s_param(id = 4, value = 1.25),
  beauti_options = create_beauti_options_v2_4()
)
s_parameter_to_xml(
  create_s_param(id = 4, value = 1.25),
  beauti_options = create_beauti_options_v2_6()
)

[Package beautier version 2.6.12 Index]