load.bayou
loads a bayouFit object that was created using bayou.mcmc()
load.bayou(
bayouFit,
saveRDS = TRUE,
file = NULL,
cleanup = FALSE,
ref = FALSE,
verbose = TRUE
)
A list of class `"bayouMCMC"` containing:
A numeric vector of sampled MCMC generations.
A numeric vector of log-likelihood values.
A numeric vector of prior probabilities.
A list of shift locations sampled across the MCMC chain.
A list of relative shift locations on branches.
A list of new optima values after shifts.
A list of reversible-jump parameters sampled at each step.
Additional parameters specific to the model used in `bayou.mcmc()`.
An object of class bayouFit
produced by the function bayou.mcmc()
A logical indicating whether the resulting chains should be saved as an *.rds file
An optional filename (possibly including path) for the saved *.rds file
A logical indicating whether the files produced by bayou.mcmc()
should be removed.
A logical indicating whether a reference function is also in the output
Determines whether information is outputted to the console for the user to view
If both save.Rdata
is FALSE
and cleanup
is TRUE
, then load.bayou
will trigger a
warning and ask for confirmation. In this case, if the results of load.bayou()
are not stored in an object,
the results of the MCMC run will be permanently deleted.