powered by
DFSimulatedChisqNew
DFSimulatedChisqNew(MZ = 250, DZ = 250, a2 = 0.3, c2 = 0.3, df = 5)
A dataframe of Chi-Square distributed outcome observations for MZ and DZ twins
Number of MZ twins to simulate
Number of DZ twins to simulate
Heritability (proportion of variance)
Shared environment (proportion of variance)
Total degrees of freedom for the Chi-Square variable
TwinData<-DFSimulatedChisqNew(200,200,.3,.3, 10)
Run the code above in your browser using DataLab