View source: R/plotNpde-covplot.R
npde.plot.covariate | R Documentation |
Boxplot of the selected variable versus categories of covariates
npde.plot.covariate(npdeObject, which.y="npd", ...)
npdeObject |
an object returned by a call to |
which.y |
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 |
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)..
a ggplot object or a list of ggplot objects (grobs)
Emmanuelle Comets <emmanuelle.comets@bichat.inserm.fr>
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.