rename_parameter: Rename a parameter in NONMEM control stream

Description Usage Arguments Examples

View source: R/param-manipulate.R

Description

[Stable]

Usage

1

Arguments

m

An nm object.

...

Named arguments with character values indicated old names.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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 <- m1 %>% rename_parameter(V2 = "V")

m1 %>% dollar("PK")
m1 %>% dollar("THETA")

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