These are selected from NONMEM 7.5 examples. Some comments and blank lines have been removed.

nmrec_examples

Format

An object of class environment of length 4.

Examples


# Get list of available examples.
ls(nmrec_examples)
#> [1] "a_uflg"   "bayes1"   "ccontrs"  "control3"

# Parse an example into an `nmrec_ctl_records` object.
ctl <- parse_ctl(get("bayes1", envir = nmrec_examples))
head(ctl$records)
#> [[1]]
#> $PROB RUN# Example 1 (from samp5l)
#> 
#> 
#> [[2]]
#> $INPUT C SET ID JID TIME  DV=CONC AMT=DOSE RATE EVID MDV CMT CLX
#>        V1X QX V2X SDIX SDSX
#> 
#> 
#> [[3]]
#> $DATA example1.csv IGNORE=C
#> 
#> 
#> [[4]]
#> $SUBROUTINES ADVAN3 TRANS4
#> 
#> 
#> 
#> [[5]]
#> $PK
#> MU_1=THETA(1)
#> MU_2=THETA(2)
#> MU_3=THETA(3)
#> MU_4=THETA(4)
#> CL=DEXP(MU_1+ETA(1))
#> V1=DEXP(MU_2+ETA(2))
#> Q=DEXP(MU_3+ETA(3))
#> V2=DEXP(MU_4+ETA(4))
#> S1=V1
#> 
#> 
#> 
#> [[6]]
#> $ERROR
#> Y = F + F*EPS(1)
#> 
#> ; Initial values of THETA
#> 
#>