View source: R/utilities-misc.R
to.auteur | R Documentation |
converting MCMC samples between auteur and coda
to.auteur(obj, phy = NULL, ...)
to.coda(obj)
obj |
for |
phy |
a phylogenetic tree of class 'phylo' against which to compile results; if NULL, the tree stored within the |
... |
arguments ( |
A coda
format of run(s) is recommended for diagnostic purposes; for summarization, auteur
formats are advised. For single chains, the format adopted by both auteur and coda is identical (an object of class mcmc
).
For a series of combined runs, formats differ between the auteur and coda packages: auteur requires an intercalated (single) matrix of values, whereas functions within coda
expect the values to be concatenated into a list (of class mcmc.list
). The function to.coda
is used solely for pooling multiple runs into a format compatible with the coda package.
For to.auteur
, an object of class auteurMCMCMC
(given multiple runs) or auteurMCMC
(given a single run) is returned;
for to.coda
, an object of class codaMCMCMC
is returned.
JM Eastman
load.rjmcmc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.