Get subdirectory (relative) paths in a configuration independent way. The configuration can be modified with nm_default_dirs(). Can be useful in scripts, where you need to refer to locations of model files or output files.

nm_dir(name, ...)

## Arguments

name

Character. Directory type. Should be either "scripts", "models" or "results".

...

Deprecated.

nm_default_dirs()
nm_dir("scripts") ## will return the path to the "scripts" directory