defaultDataSubset: Configure the global data subset attached to NONMEM problems...

Description Usage Arguments Details Value Author(s) Examples

Description

In analyzing (and especially graphing) NONMEM data sets, it is often convenient to work with subsets of data that exclude certain rows of data, such as dosing data. In this package, a "default" standard data subset is available for passing into various routines. defaultSubset will retrieve the currently set default subset. setDefaultSubset will overwrite the existing subset, and also allows one to control whether the subset is attached to an object by default on loading. augmentDefaultDataSubset allows one to append subset expressions to the current global default subset.

Usage

1
2
3

Arguments

sub

A character vector of subsetting expressions, such as "MDV != 1", "EVID == 0" and so on.

applyOnLoad

Logical. Should the subset be attached to any NMProblem object upon loading?

Details

When loading is done via importNm, the default subset may be associated to each constituent problem. If you wish to disable this, use setDefaultSubset(sub, FALSE).

Value

defaultDataSubset will return a character vector of the current subsetting expressions.

Author(s)

Mango Solutions

Examples

1
2

MangoTheCat/RNMImport documentation built on May 8, 2019, 4:36 p.m.