AddCox | R Documentation |
A new covariate column can be added to an existing NONMEM dataset.
AddCox(nmData, coxData, coxCol, dateCol = "DATE", idCol = "ID")
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 |
It first carry forward for the missing data. If NA is remained, it carry backward.
A new NONMEM dataset containing the covariate column
Kyun-Seop Bae <k@acr.kr>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.