Create a two-level directory structure. If the first-level argument is NULL, we look for and, if needed, created the directory 'socsim' in the user's home directory. If the second-level argument is NULL, we create a directory named 'socsim_sim_some 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 '$HOME/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()
.