Learn R Programming

npde (version 3.5)

npde.plot.default: 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, ...)

Value

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

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