Learn R Programming

Omisc (version 0.1.5)

DFSimulated: DFSimulated

Description

DFSimulated

Usage

DFSimulated(MZ = 250, DZ = 250, a2 = 0.3, c2 = 0.3)

Value

A dataframe

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)

Examples

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

Run the code above in your browser using DataLab