plot.NpdeObject: Plots a NpdeObject object

View source: R/plotNpde-methods.R

plot.NpdeObjectR Documentation

Plots a NpdeObject object

Description

Plots the data and diagnostic plots in a NpdeObject object

Usage

## S3 method for class 'NpdeObject'
plot(x, y, ...)

Arguments

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

Details

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.

Value

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

See Also

set.plotoptions

Examples


data(theopp)
data(simtheopp)

x<-autonpde(theopp,simtheopp,iid="ID",ix="Time", iy="Conc", boolsave=FALSE)
plot(x)



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