plot.lgtdl {lgtdl} | R Documentation |
A lgtdly object consists of a time component and one or more covariates measured or observed at the times specified in the time component. This function plots the covariate trajectories as lines on the y axis.
plot.lgtdl(x, ...)
x |
An object of class lgtdl . |
... |
Optional arguments to control the plotting. |
One should be able to specify values for any of the graphics parameters to change the appearance of the plot.
No value is returned. A line plot of the longitudinal object is rendered on the active graphics device.
Robert Gentleman
x1<-data.frame(time=c(1,3,5), cov=c(4,6,8)) x2<-data.frame(time=c(11,13,15), interest=c(66,45,88)) x1<-as.lgtdl(x1) x2<-as.lgtdl(x2) plot(x1) plot(x2)