Learn R Programming

nmw (version 0.3.0)

build_obs_records: Build NONMEM Observation Records

Description

Build NONMEM observation records from a PC-like data.frame. PC must contain: SUBJID, DAT2, TIME, DV, CMT. Output rows have AMT = 0, RATE = 0; DV that is NA or 0 -> MDV = 1.

Usage

build_obs_records(PC)

Value

data.frame of observation records with columns SUBJID, DAT2, TIME, AMT, RATE, CMT, DV, MDV.

Arguments

PC

data.frame with observation information.