set.filenames | R Documentation |
Helper function for creating filenames for exporting MCMC samples and plots thereof.
set.filenames( mod.name, dir.proj = getwd(), dir.plots = NULL, dir.samps = NULL, ni = NULL, nb = NULL, nc = NULL, nt = NULL, nbfs = NULL, dev.mode = FALSE )
mod.name |
a shorthand name for saving outputs. |
dir.proj |
location of where to send exported files. If NULL or not specified will send to current working directory. |
dir.plots |
path to save the MCMC samples as .rds object |
dir.samps |
path to save the MCMC samples as .rds object |
ni |
number of iterations (pre-thinning and pre-burnin) |
nb |
number of iterations to discard |
nc |
number of chains |
nt |
thinning rate for MCMC. Used in filenames |
nbfs |
number of basis functions used in the model. |
dev.mode |
logical If TRUE will append "dev_" preceding all filenames. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.