Boxplot of the selected variable versus categories of covariates
npde.plot.covariate(npdeObject, which.y="npd", ...)
a ggplot object or a list of ggplot objects (grobs)
an object returned by a call to npde
or autonpde
a string specifying the variable on the Y-axis (one of "yobs", "npde", "pd", "npd")
additional arguments to be passed on to the function, to control which metric (npde, pd, npd) is used or to override graphical parameters (see the PDF document for details, as well as set.plotoptions
and npdeControl
)
Emmanuelle Comets <emmanuelle.comets@bichat.inserm.fr>
For a categorical covariate, boxplots are produced for each category. Continous covariates are split into quantile (by default, first quartile (<Q1), interquartile range (Q1-Q3) and upper quartile (>Q3), but the number of categories can be set by using the ncat argument).
For each category, the median according to simulations under the model is shown (it can be suppressed by using the argument bands=FALSE)..
K. Brendel, E. Comets, C. Laffont, F. Mentre F. Evaluation of different tests based on observations for external model evaluation of population analyses. Journal of Pharmacokinetics and Pharmacodynamics, 37:49-65, 2010.
npde
, autonpde
, set.plotoptions
, npdeControl