gamma_distr_to_xml: Internal function

View source: R/gamma_distr_to_xml.R

gamma_distr_to_xmlR Documentation

Internal function

Description

Converts a gamma distribution to XML

Usage

gamma_distr_to_xml(gamma_distr, beauti_options = create_beauti_options())

Arguments

gamma_distr

a gamma distribution, as created by create_gamma_distr)

beauti_options

one BEAUti options object, as returned by create_beauti_options

Value

the distribution as XML text

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

# gamma distribution must be initialized
gamma_distr_to_xml(
  gamma_distr = create_gamma_distr(
    id = "0",
    alpha = create_alpha_param(id = "2", value = "0.5396"),
    beta = create_beta_param(id = "3", value = "0.3819")
  )
)

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.