View source: R/plotNpde-distributionPlot.R
npde.plot.dist | R Documentation |
Produces a plot of the cdistribution of a metric compared to their theoretical distribution. Three types of distribution plots are available: a histogram, a QQ-plot, or the empirical cdf.
npde.plot.dist(npdeObject, which="npd", dist.type="qqplot", ...)
npdeObject |
an object returned by a call to |
which |
a string determining which metric to plot (one of "npde", "pd" or "npd"), defaults to "npd" |
dist.type |
string, one of "ecdf" (empirical cumulative density function), "hist" (histogram) or "qqplot" (QQ-plot of the empirical distribution versus the theoretical quantiles) to determine which type of plot (default is "qqplot") |
... |
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 |
a ggplot object or a list of ggplot objects (grobs)
Emmanuelle Comets <emmanuelle.comets@bichat.inserm.fr>
K. Brendel, E. Comets, C. Laffont, C. Laveille, and F. Mentre. Metrics for external model evaluation with an application to the population pharmacokinetics of gliclazide. Pharmaceutical Research, 23:2036–49, 2006.
npde
, autonpde
, set.plotoptions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.