npde.plot.select: Select plot for a NpdeObject object

View source: R/plotNpde-plotFunctions.R

npde.plot.selectR Documentation

Select plot for a NpdeObject object

Description

Select plot for a NpdeObject object

Usage

npde.plot.select(npdeObject,data=FALSE,ecdf=FALSE,qqplot=FALSE, histogram=FALSE,
x.scatter=FALSE,pred.scatter=FALSE,x.box=FALSE,pred.box=FALSE, cov.scatter=FALSE, 
cov.x.scatter=FALSE, cov.pred.scatter=FALSE,cov.x.box=FALSE,cov.pred.box=FALSE, 
cov.ecdf=FALSE, cov.hist=FALSE, cov.qqplot=FALSE, vpc=FALSE,...)

Arguments

npdeObject

an object returned by a call to npde or autonpde

data

boolean, whether to produce a plot of the data

ecdf

boolean, whether to produce a distribution plot of the empirical distribution function

qqplot

boolean, whether to produce a QQ-plot of the empirical distribution function

histogram

boolean, whether to produce a histogram of the metric

x.scatter

boolean, whether to produce a scatterplot of the metric as a function of X

pred.scatter

boolean, whether to produce a scatterplot of the metric as a function of predictions

x.box

boolean, whether to produce whisker plots of the metric as a function of X

pred.box

boolean, whether to produce whisker plots of the metric as a function of predictions

cov.scatter

boolean, whether to produce a scatterplot of the metric as a function of covariate(s)

cov.x.scatter

boolean, whether to produce a scatterplot of the metric as a function of X, split by covariate(s)

cov.pred.scatter

boolean, whether to produce a scatterplot of the metric as a function of predictions, split by covariate(s)

cov.x.box

boolean, whether to produce whisker plots of the metric as a function of X, split by covariate(s)

cov.pred.box

boolean, whether to produce whisker plots of the metric as a function of predictions, split by covariate(s)

cov.ecdf

boolean, whether to produce a distribution plot of the empirical distribution function, split by covariate(s)

cov.hist

boolean, whether to produce a distribution plot of the empirical distribution function, split by covariate(s)

cov.qqplot

boolean, whether to produce a distribution plot of the empirical distribution function, split by covariate(s)

vpc

boolean, whether to produce a VPC

...

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.