set.filenames: Specify Model Output Filenames

View source: R/utils.R

set.filenamesR Documentation

Specify Model Output Filenames

Description

Helper function for creating filenames for exporting MCMC samples and plots thereof.

Usage

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
)

Arguments

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.


trashbirdecology/bbsebird documentation built on June 30, 2022, 12:18 a.m.