File: nuclear_twin_design_data.Rd

package info (click to toggle)
r-cran-openmx 2.21.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,412 kB
  • sloc: cpp: 36,577; ansic: 13,811; fortran: 2,001; sh: 1,440; python: 350; perl: 21; makefile: 5
file content (42 lines) | stat: -rwxr-xr-x 871 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\name{nuclear_twin_design_data}
\alias{nuclear_twin_design_data}
\docType{data}
\title{
Twin data from a nuclear family design
}

\description{
Data set used in some of OpenMx's examples.
}

\usage{data("nuclear_twin_design_data")}
\format{
  A data frame with 1743 observations on the following variables.
  \describe{
    \item{\code{Twin1}}{}
    \item{\code{Twin2}}{}
    \item{\code{Father}}{}
    \item{\code{Mother}}{}
    \item{\code{zyg}}{Zygosity of the twin pair}
  }
}

\details{
This is a wide format data set.  A single variable has values for different member of the same nuclear family.
}

\source{
Likely simulated.
}

\references{
The OpenMx User's guide can be found at \url{https://openmx.ssri.psu.edu/documentation/}.
}

\examples{
data(nuclear_twin_design_data)

cor(nuclear_twin_design_data[,-5], use="pairwise.complete.obs")

}
\keyword{datasets}