plot.LongData | R Documentation |
This function is used to plot data from class 'LongData' as it is returned by getData
simulate.GPPM
.
## S3 method for class 'LongData'
plot(x, plotIds, by, ID, DV, ...)
x |
longitudinal data frame of class 'LongData'. |
plotIds |
vector of IDs for which the data should be printed. Can be left empty. Then 5 IDs are picked randomly. |
by |
label of the variable on the x-axis. Can be left empty. |
ID |
label of the ID column. Can be left empty. |
DV |
label of the variable on the y-axis. Can be left empty. |
... |
additional parameters (currently not used). |
a fitted Gaussian process panel model, which is an object of class 'GPPM'
data("demoLGCM")
plot(demoLGCM, plotIds = c(1, 2, 3))
plot(demoLGCM) # five random ids
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.