ctl_contents: Get/set control file contents

Description Usage Arguments Value Examples

View source: R/nm-gettersetters.R

Description

This function is an alias for based_on().

Usage

1

Arguments

...

Arguments to be passed to based_on().

Value

An nm object with modified ctl_contents field.

Examples

1
2
3
4
5
6
7
# 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 %>% ctl_contents()

NMproject documentation built on Oct. 18, 2021, 1:08 a.m.