powered by
DFSimulatedChisqNew
DFSimulatedChisqNew(MZ = 250, DZ = 250, a2 = 0.3, c2 = 0.3, df = 5)
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
A dataframe of Chi-Square distributed outcome observations for MZ and DZ twins
# NOT RUN { TwinData<-DFSimulatedChisqNew(200,200,.3,.3, 10) # }
Run the code above in your browser using DataLab