Learn R Programming

beautier (version 2.6.12)

gamma_distr_to_xml: Internal function

Description

Converts a gamma distribution to XML

Usage

gamma_distr_to_xml(gamma_distr, beauti_options = create_beauti_options())

Value

the distribution as XML text

Arguments

gamma_distr

a gamma distribution, as created by create_gamma_distr)

beauti_options

one BEAUti options object, as returned by create_beauti_options

Author

Richèl J.C. Bilderbeek

Examples

Run this code
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()

Run the code above in your browser using DataLab