npde.plot.dist: Distribution plots of pd/npde

View source: R/plotNpde-distributionPlot.R

npde.plot.distR Documentation

Distribution plots of pd/npde

Description

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.

Usage

npde.plot.dist(npdeObject, which="npd", dist.type="qqplot", ...)

Arguments

npdeObject

an object returned by a call to npde or autonpde

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 set.plotoptions)

Value

a ggplot object or a list of ggplot objects (grobs)

Author(s)

Emmanuelle Comets <emmanuelle.comets@bichat.inserm.fr>

References

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.

See Also

npde, autonpde, set.plotoptions


npde documentation built on May 29, 2024, 9:59 a.m.