View source: R/get_mcmc_filenames.R
get_mcmc_filenames | R Documentation |
If a filename is set to an empty string, to indicate a certain log file need not be created, this (non-)filename will not be returned.
get_mcmc_filenames(mcmc)
mcmc |
one MCMC.
Use |
the filenames stored in an MCMC
Richèl J.C. Bilderbeek
check_empty_beautier_folder()
mcmc <- create_mcmc()
mcmc$tracelog$filename <- "/home/john/trace.log"
mcmc$screenlog$filename <- "/home/john/screen.log"
mcmc$treelog$filename <- "/home/john/tree.log"
# 3 filenames
filenames <- get_mcmc_filenames(mcmc)
# If there is no need to write to the screenlog file ...
mcmc$screenlog$filename <- ""
# 2 filenames
# ... one file less will be created
filenames <- get_mcmc_filenames(mcmc)
check_empty_beautier_folder()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.