npde.plot.default: Diagnostic plots

View source: R/plotNpde-plotFunctions.R

npde.plot.defaultR Documentation

Diagnostic plots

Description

The default diagnostic plots produced after a call to npde or autonpde include a histogram of the distribution, a QQ-plot compared to the theoretical distribution, and scatterplots versus the independent variable and versus the population predictions from the model

Usage

npde.plot.default(npdeObject, ...)

Arguments

npdeObject

an object returned by a call to npde or autonpde

...

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)

Details

By default, npd are used for the diagnostic plots. If an unknown argument to which (eg which="XXX") is given, this is changed to npd (with a warning message if verbose=TRUE or the verbose option in the option slot of the npdeObject is TRUE).

Value

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


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