xml_bite {bite} | R Documentation |
Modifies a .xml file from beauti to include a model model in the Beast 2 analysis
xml_bite(model, xml, out = sprintf("%s_edited.xml", gsub(".xml", "",
xml)))
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 |
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"))
no return value, called for side effects
No return value: Modifies the .xml file given in xml in the user's filespace.
Theo Gaboriau