plot.LongData: Plot a Long Data Frame

Description Usage Arguments Value Examples

Description

This function is used to plot data from class 'LongData' as it is returned by datas simulate.GPPM.

Usage

1
2
## S3 method for class 'LongData'
plot(x, plotIds, by, ID, DV, ...)

Arguments

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).

Value

a fitted Gaussian process panel model, which is an object of class 'GPPM'

Examples

1
2
3
data("demoLGCM")
plot(demoLGCM,plotIds=c(1,2,3))
plot(demoLGCM) #five random ids

karchjd/gppm documentation built on May 27, 2019, 11:49 p.m.