plot.NpdeData: Plots a NpdeData object

View source: R/NpdeData.R

plot.NpdeDataR Documentation

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.

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

setPlotOptions

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)


LAPKB/npde documentation built on Oct. 19, 2022, 2:10 p.m.