mrca_priors_to_xml_prior_distr: Creates the the 'distribution"s prior section (which is part...

View source: R/mrca_priors_to_xml_distr.R

mrca_priors_to_xml_prior_distrR Documentation

Creates the the distribution's prior section (which is part of a posterior distribution section) of a BEAST2 XML parameter file.

Description

These lines start with '<distribution id="prior"'

Usage

mrca_priors_to_xml_prior_distr(inference_model)

Arguments

inference_model

a Bayesian phylogenetic inference model. An inference model is the complete model setup in which a site model, clock model, tree prior and more are specified. Use create_inference_model to create an inference model. Use check_inference_model to check if an inference model is valid. Use rename_inference_model_filenames to rename the files in an inference model.

Details

<distribution id="posterior" spec="util.CompoundDistribution"> <distribution id="prior" spec="util.CompoundDistribution"> HERE, where the ID of the distribution is 'prior' </distribution> <distribution id="likelihood" ...> </distribution> </distribution>

Value

lines of XML text

Author(s)

Richèl J.C. Bilderbeek


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