makeMDVEVID: Auto-populate MDV and EVID Columns.

Description Usage Arguments Details Value Author(s)

Description

This function adds MDV and EVID columns to NONMEM formatted data.frames.

Usage

1
makeMDVEVID(ds, DV, AMT, clearSystem = F, C = F)

Arguments

ds

NONMEM formatted data.frame to add MDV/EVID column to. Assumes contains column with patient identifiers named "SID".

DV

Column number containing DV record.

AMT

Column number containing AMT record.

clearSystem

Boolean variable; if TRUE will clear system (EVID=4) for multiple dosing events in a single patient.

C

Indicates that the first column contains comments rather than IDs. Second column used for IDs instead

Details

Long description.

Value

Data.frame ds with two columns (MDV and EVID) appended to the end.

Author(s)

Samuel Callisto calli055@umn.edu makeMDVEVID()


callistosp/dataTools documentation built on May 3, 2019, 4:31 p.m.