powered by
DFSimulated
DFSimulated(MZ = 250, DZ = 250, a2 = 0.3, c2 = 0.3)
A dataframe
Number of MZ twins to simulate
Number of DZ twins to simulate
Heritability (proportion of variance)
Shared environment (proportion of variance)
TwinData<-DFSimulated(200,200,.3,.3)
Run the code above in your browser using DataLab