View source: R/plotNpde-methods.R
plot.NpdeObject | R Documentation |
Plots the data and diagnostic plots in a NpdeObject object
## S3 method for class 'NpdeObject'
plot(x, y, ...)
x |
a NpdeObject object |
y |
unused, here for compatibility with the base plot function |
... |
additional graphical parameters, which when given will supersede graphical preferences stored in the object |
The default plots are represented as a 2x2 array with distribution plots on the top row (histogram and QQ-plot), and scatterplots of npde versus independent variable and population predictions on the bottom row. The graph is plotted in a graphic device window, unless the result is stored in an object (eg myplot<-plot(x)) which can then be printed (eg using print(myplot)).
@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.
a ggplot object or a list of ggplot objects (grobs)
set.plotoptions
data(theopp)
data(simtheopp)
x<-autonpde(theopp,simtheopp,iid="ID",ix="Time", iy="Conc", boolsave=FALSE)
plot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.