Plots distribution and scatterplots for the npde in a NpdeRes object. Users are advised to use the plot() function on the NpdeObject object resulting from a call to npde() or autonpde() instead of trying to plot only the results element of this object.
# S3 method for NpdeRes
plot(x, y, ...)
a ggplot object or a list of ggplot objects (grobs)
a NpdeRes object
Four graphs are produced:
plot of the npde versus the corresponding quantiles of a normal distribution, with the line y=x overlayed.
the shape of the normal distribution is also shown
a plot of the npde versus the independent variable X and a plot of the npde versus the empirical mean of the predicted distribution; for these last two graphs, we plot the lines corresponding to y=0 and to the 5% and 95% critical value of the normal distribution delimiting a 90% prediction interval for the npde
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.
set.plotoptions