addedData: Get added data

Description Usage Arguments Value Author(s) Examples

Description

Obtain the derived/user-added variables from a NONMEM problem object

Usage

1
addedData(obj, ...)

Arguments

obj

An object of class NMRun or extending NMProblem

...

problemNum for addedData.NMRun

Value

A data.frame containing the derived variables

Author(s)

Mango Solutions

Examples

1
2
3
4
5
x <- importNm("theoph.con", path = system.file("examples/theoph", package = "RNMImport") ) 
y <- getProblem(x)
y <- addDerivedCategorical(y, "DV", breaks = 3, labels = c("low", "medium", "high"))
y <- addDerivedCategorical(y, "TIME", breaks = 6)
print(addedData(y))

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