DFSimulatedChisqNew: DFSimulatedChisqNew

View source: R/DFSimulatedChisqnew.R

DFSimulatedChisqNewR Documentation

DFSimulatedChisqNew

Description

DFSimulatedChisqNew

Usage

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

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

Value

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

Examples

TwinData<-DFSimulatedChisqNew(200,200,.3,.3, 10)

Omisc documentation built on Aug. 9, 2022, 5:09 p.m.