Learn R Programming

npde (version 2.0)

plot.NpdeData: Plots a NpdeData object

Description

Plots the data in a NpdeData object

Usage

"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

set.plotoptions

Examples

Run this code
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)

Run the code above in your browser using DataLab