Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.NpdeObject

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

Examples

data(theopp)
data(simtheopp)

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

npde

Normalised Prediction Distribution Errors for Nonlinear Mixed-Effect Models

v3.1
GPL (>= 2)
Authors
Emmanuelle Comets [aut, cre] (<https://orcid.org/0000-0002-9150-9886>), Karl Brendel [ctb], Thi Huyen Tram Nguyen [ctb], Romain Leroux [ctb], France Mentre [ctb]
Initial release
2021-04-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.