b_pop_sizes_parameter_to_xml: Internal function

View source: R/b_pop_sizes_parameter_to_xml.R

b_pop_sizes_parameter_to_xmlR Documentation

Internal function

Description

Converts a Bayesian population sizes parameter to XML

Usage

b_pop_sizes_parameter_to_xml(
  b_pop_sizes_parameter,
  beauti_options = create_beauti_options()
)

Arguments

b_pop_sizes_parameter

a Bayesian population size parameter, as created by create_b_pop_sizes_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

b_pop_sizes_parameter_to_xml(
  b_pop_sizes_parameter = create_b_pop_sizes_param(id = 42),
  beauti_options = create_beauti_options()
)
b_pop_sizes_parameter_to_xml(
  b_pop_sizes_parameter = create_b_pop_sizes_param(id = 42, upper = Inf),
  beauti_options = create_beauti_options()
)

ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.