Generate the folder structure for an experiment.
Usage
setupDirs(
experimentName,
rootDir = NULL,
scenariosDir = NULL,
logsDir = NULL,
replace = "ask"
)
setup_dirs(
experimentName,
rootDir = NULL,
scenariosDir = NULL,
logsDir = NULL,
replace = "ask"
)
Arguments
- experimentName
Name of the experiment. Spaces will be replaced by underscores.
- rootDir
Root directory as a string. Defaults to the current working directory.
- scenariosDir
Scenarios directory name as a string. Will be a subfolder of the
rootDir
. Defaults to 'scenarios'.- logsDir
Logs directory name as a string. Will be a subfolder of the
rootDir
. Defaults to 'logs'.- replace
If the present directory structure should be replaced. Can be TRUE, FALSE or "ask". This will remove any existing content!