twinData {OpenMx} | R Documentation |

## Australian twin sample biometric data.

### Description

Australian data on body mass index (BMI) which saved in the text file twinData.txt. It is a wide dataset, with two individuals per line. It also contains both MZ and DZ twins, along with heights, weights and the calculated variable body mass index (BMI) for each subject. Ago of course occurs only once, as the two twins of each pair share a common age. fam is a family identifier.

### Usage

data(twinData)

### Format

A data frame with 3808 observations on the following 12 variables.

`fam`

a numeric vector

`age`

a numeric vector

`zyg`

a numeric vector

`part`

a numeric vector

`wt1`

a numeric vector

`wt2`

a numeric vector

`ht1`

a numeric vector

`ht2`

a numeric vector

`htwt1`

a numeric vector

`htwt2`

a numeric vector

`bmi1`

a numeric vector

`bmi2`

a numeric vector

### Details

Zygosity is coded as follows
1 == MZ females
2 == MZ males
3 == DZ females
4 == DZ males
5 == DZ opposite sex pairs

### Examples

data(twinData)
str(twinData)
plot(wt1~wt2, data=twinData)
mzData <- as.matrix(subset(myTwinData, zyg==1, c(bmi1,bmi2)))
dzData <- as.matrix(subset(myTwinData, zyg==3, c(bmi1,bmi2)))

[Package

*OpenMx* version 1.2.0-1931

Index]