Filter a NONMEM run object data

# S3 method for nonmem_run
filter(x, ...)

Arguments

x

An nonmem_run object.

Details

Adds an attribute to the nonmem_run object so that every function call on the run (plot, summary, quality criteria) will first filter the internal data.

Examples

filter(EXAMPLERUN, STUD == 0)
#> Run path: ~/pmxploit/example.tar.gz #> NONMEM version 7.3.0 #> Dataset: #> File: dataset.csv #> Individuals: 527 #> Observations: 9379 #> Duration: 31612.7990002632 #> Estimation(s): #> 1: focei #> Table(s): catab, cotab, patab, sdtab #> pmxploit data is filtered: #> Filters: #> ~STUD == 0 #> Summary: #> Individuals: 30 #> Observations: 831
filter(EXAMPLERUN, SEX == 0, STUD == 1)
#> Run path: ~/pmxploit/example.tar.gz #> NONMEM version 7.3.0 #> Dataset: #> File: dataset.csv #> Individuals: 527 #> Observations: 9379 #> Duration: 31612.7990002632 #> Estimation(s): #> 1: focei #> Table(s): catab, cotab, patab, sdtab #> pmxploit data is filtered: #> Filters: #> ~SEX == 0 #> ~STUD == 1 #> Summary: #> Individuals: 16 #> Observations: 360