Create a two-level directory structure. If the first-level argument is NULL, we look for and, if needed, create the directory 'socsim' in the current temporary directory. If the second-level argument is NULL, we create a directory named like 'socsim_sim_' followed by a random component in the first-level directory.
Arguments
- basedir
A string. Optional. First-level directory where the simulation-specific directory will be created. Defaults to
file.path(tempdir(), "socsim").- simdir
A string. Optional. Simulation-specific directory which will be created within 'basedir'. Defaults to 'socsim_sim_' plus a random component created with
tempfile().