AddCox {nmw} | R Documentation |
Add a Covariate Column to an Existing NONMEM dataset
Description
A new covariate column can be added to an existing NONMEM dataset.
Usage
AddCox(nmData, coxData, coxCol, dateCol = "DATE", idCol = "ID")
Arguments
nmData |
an existing NONMEM dataset |
coxData |
a data table containing a covariate column |
coxCol |
the covariate column name in the coxData table |
dateCol |
date column name in the NONMEM dataset and the covariate data table |
idCol |
ID column name in the NONMEM dataset and the covariate data table |
Details
It first carry forward for the missing data. If NA is remained, it carry backward.
Value
A new NONMEM dataset containing the covariate column
Author(s)
Kyun-Seop Bae <k@acr.kr>
[Package nmw version 0.1.5 Index]