Learn R Programming

NMproject (version 0.6.9)

run_dir_path: Get path to run_dir

Description

[Stable]

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

Usage

run_dir_path(m)

Value

A path to the run_dir field of m.

Arguments

m

An nm object.

See Also

nm_getsetters().

Examples

Run this code

# 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)
             

Run the code above in your browser using DataLab