hky_site_model_to_xml_prior_distr: Internal function

View source: R/hky_site_model_to_xml_prior_distr.R

hky_site_model_to_xml_prior_distrR Documentation

Internal function

Description

Converts an HKY site model to XML, used in the prior section

Usage

hky_site_model_to_xml_prior_distr(site_model, beauti_options)

Arguments

site_model

a site model, as returned by create_site_model

beauti_options

one BEAUti options object, as returned by create_beauti_options

Value

the site model as XML text

Author(s)

Richèl J.C. Bilderbeek

Examples

hky_site_model_to_xml_prior_distr(
  site_model = create_hky_site_model(
    id = 1,
    kappa_prior_distr = create_uniform_distr(id = 2)
  ),
  beauti_options = create_beauti_options()
)

richelbilderbeek/beautier documentation built on April 4, 2024, 12:33 p.m.