DFSimulatedChisq: DFSimulatedChisq

View source: R/DFSimulatedChisq.R

DFSimulatedChisqR Documentation

DFSimulatedChisq

Description

DFSimulatedChisq

Usage

DFSimulatedChisq(MZ = 250, DZ = 250, a2 = 0.3, c2 = 0.3, df = 10)

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<-DFSimulatedChisq(200,200,.3,.3, 10)

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