umx_make_TwinData(nMZpairs, nDZpairs, a = c(avg = 0.5, min = 0, max = 1), c, e)
Arguments
nMZpairs
Number of MZ pairs to simulate
nDZpairs
Number of DZ pairs to simulate
a
value for a, defaults to an example of moderation: c(avg=.5, min=0, max=1)
c
value for c
e
value for e
Value
- list of mzData and dzData data.frames
Details
You supply the number of pairs of each zygosity that wish to simulate (nMZpairs, nDZpairs), along with the values of a, c,and e.
a can take a list of values which if specified will act like a moderated heritability, with average value a[1], and swinging
down to a[2 and up to a[3] across 4-SDs of the moderator.