nm_output_path(m, extn, file_name)
An nm object.
Character. Name of extension.
Optional character. Name of file name.
The path to the relevant output file of m
.
# 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"))
m1 %>% nm_output_path("ext") ## path to ext file
#> [1] "Models/m1/NM_run1/psn.ext"