readobs {npde} | R Documentation |
These functions read the data from which npde are to be computed (not intended for the end-user).
readobs(namobs, iid, ix, iy, imdv) readsim(namsim, datobs, mdv)
namobs |
name of the file containing the observed data |
namsim |
name of the file containing the simulated data |
iid |
number of the column containing the patient ID |
ix |
number of the column containing the independent variable (X) |
iy |
number of the column containing the dependent variable (Y) |
imdv |
number of the column containing information about missing data (MDV); if this column does not exist, imdv is 0 and missing data in Y are assumed to be coded as NA or a dot "." in the file |
datobs |
Observed data, a dataframe containing 3 columns (id=patient ID, xobs=independent variable (X), yobs=dependent variable (Y) |
mdv |
a vector of 0 and 1; lines containing 1 correspond to missing observations and are removed from the dataset before the computation of pde |
These functions are private functions used by npde
and autonpde
.
They are not intended to be used elsewhere.
tabobs |
observed data, a dataframe containing 3 columns (id=patient ID, xobs=independent variable (X), yobs=dependent variable (Y) |
mdv |
a vector of 0 and 1; lines containing 1 correspond to missing observations and are removed from the dataset before the computation of pde |
tabsim |
simulated data, a dataframe containing 4 columns (idsim=patient ID, irsim=integer identifying the replicate; xsim=independent variable (X), ysim=dependent variable (Y) |
Emmanuelle Comets <emmanuelle.comets@bichat.inserm.fr>
K. Brendel, E. Comets, C. Laffont, C. Laveille, and F. MentrĂ©. Metrics for external model evaluation with an application to the population pharmacokinetics of gliclazide. Pharmaceutical Research, 23:2036–49, 2006.