Learn R Programming

OpenMx (version 2.21.13)

example2: Bivariate twin data, long-format from Classic Mx Manual

Description

Data set used in some of OpenMx's examples.

Usage

data("example2")

Arguments

Format

A data frame with 800 observations on the following variables.

IDNum

ID number

TwinNum

Twin ID number

Zygosity

Zygosity of the twin

X

X variable for twins 1 and 2

Y

Y variable for twins 1 and 2

Details

Same as example1 but in tall format instead of wide.

References

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

Examples

Run this code
data(example2)
plot(Y ~ X, data = example2)

Run the code above in your browser using DataLab