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

plot.NpdeData

Plots a NpdeData object


Description

Plots the data in a NpdeData object

Usage

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

Arguments

x

a NpdeData object

y

unused, here for compatibility with the base plot function

...

additional graphical parameters to be passed on to the plot

Details

The default plot is a spaghetti plot of all the data, with a line joining the observations for each subject. If censored data is present, it is shown with a different symbol and colour.

Value

currently does not return anything, use plot(x, plot.type="data") on the npdeObject x (TODO; a ggplot object)

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.

See Also

Examples

data(theopp)

x<-npdeData(theopp,name.group="ID",name.predictor="Time",name.response="Conc",
name.covariates=c("Wt"),units=list(x="hr",y="mg/L",covariates="kg"))
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.