myGrowthKnownClassData_data: Data for a growth mixture model with the true class...

myGrowthKnownClassDataR Documentation

Data for a growth mixture model with the true class membership

Description

Data set used in some of OpenMx's examples.

Usage

data("myGrowthKnownClassData")

Format

A data frame with 500 observations on the following variables.

x1

x variable and time 1

x2

x variable and time 2

x3

x variable and time 3

x4

x variable and time 4

x5

x variable and time 5

c

Known class membership variable

Details

The same as myGrowthMixtureData, but with the class membership variable.

Source

Simulated.

References

The OpenMx User's guide can be found at https://openmx.ssri.psu.edu/documentation/.

Examples

data(myGrowthKnownClassData)

#plot the observed trajectories
# blue lines are class 1, green lines are class 2
colSel <-c('blue', 'green')[myGrowthKnownClassData$c]
matplot(t(myGrowthKnownClassData[,-6]), type='l', lty=1, col=colSel)


OpenMx documentation built on Oct. 19, 2024, 9:06 a.m.