xml_bite {bite} | R Documentation |
Write xml file with model
Description
Modifies a .xml file from beauti to include a model model in the Beast 2 analysis
Usage
xml_bite(model, xml, out = sprintf("%s_edited.xml", gsub(".xml", "",
xml)))
Arguments
model |
an object of class "model" (see details) |
xml |
name of the output file that will store the log of MCMC chain |
out |
where to write the edited xml |
Details
This function takes a .xml file generated with Beauti and a model object generated with make_jive
Only model objects that use models supported by the Beast implementation of model ("BM", c("BM", "sigma"), "WN", "OU", c("OU", "theta"), c("OU", "root"), c("OU", "root", "theta"))
Value
no return value, called for side effects
No return value: Modifies the .xml file given in xml in the user's filespace.
Author(s)
Theo Gaboriau
[Package bite version 0.3 Index]