Learn R Programming

OpenMx (version 2.6.7)

jointdata: Joint Ordinal and continuous variables to be modeled together

Description

Data set used in some of OpenMx's examples.

Usage

data("jointdata")

Arguments

Format

A data frame with 250 observations on the following variables.
z1
Continuous variable
z2
Ordinal variable with 2 levels (0, 1)
z3
Continuous variable
z4
Ordinal variable with 4 levels (0, 1, 2, 3)
z5
Ordinal variable with 3 levels (0, 1, 3)

Source

Simulated.

Details

Data generated to test the joint ML algorithm thoroughly.

References

The OpenMx User's guide can be found at http://openmx.psyc.virginia.edu/documentation.

Examples

Run this code
data(jointdata)
par(mfrow=c(2, 3))
h <- lapply(jointdata, hist)
par(mfrow=c(1, 1))

plot(z2 ~ z1, jointdata)

Run the code above in your browser using DataLab