Plots a NpdeData object
Plots the data in a NpdeData object
## S3 method for class 'NpdeData' plot(x, y, ...)
x |
a NpdeData object |
y |
unused, here for compatibility with the base plot function |
... |
additional graphical parameters to be passed on to the plot |
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.
currently does not return anything, use plot(x, plot.type="data") on the npdeObject x (TODO; a ggplot object)
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.
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.