Learn R Programming

Omisc (version 0.1.5)

DFSimulatedChisqNew: DFSimulatedChisqNew

Description

DFSimulatedChisqNew

Usage

DFSimulatedChisqNew(MZ = 250, DZ = 250, a2 = 0.3, c2 = 0.3, df = 5)

Value

A dataframe of Chi-Square distributed outcome observations for MZ and DZ twins

Arguments

MZ

Number of MZ twins to simulate

DZ

Number of DZ twins to simulate

a2

Heritability (proportion of variance)

c2

Shared environment (proportion of variance)

df

Total degrees of freedom for the Chi-Square variable

Examples

Run this code
TwinData<-DFSimulatedChisqNew(200,200,.3,.3, 10)

Run the code above in your browser using DataLab