delete_dollar: Delete a NONMEM subroutine from control file contents

View source: R/basic-ctl-manipulation.R

delete_dollarR Documentation

Delete a NONMEM subroutine from control file contents

Description

[Stable]

Usage

delete_dollar(m, dollar)

Arguments

m

An nm object.

dollar

Character. Name of subroutine.

Value

An nm object with modified ctl_contents field.

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

m1 %>% dollar("TABLE")
m1 <- m1 %>% delete_dollar("TABLE")
m1 %>% dollar("TABLE")  ## missing


NMproject documentation built on Sept. 30, 2022, 1:06 a.m.