[Stable]

The function run_dir() gives the directory name, whereas this function gets the (relative) path of run_dir().

run_dir_path(m)

Arguments

m

An nm object.

Value

A path to the run_dir field of m.

See also

Examples


# create example object m1 from package demo files
exdir <- system.file("extdata", "examples", "theopp", package = "NMproject")
m1 <- new_nm(run_id = "m1", 
             based_on = file.path(exdir, "Models", "ADVAN2.mod"),
             data_path = file.path(exdir, "SourceData", "THEOPP.csv"))

run_dir_path(m1)
#> [1] "Models/m1"