Learn R Programming

pcgen (version 0.2.0)

simdata: Simulated data

Description

Simulated data, for two replicates of genotypes g1,...,g200. Three traits were simulated (Y1, Y2 and Y3), using a structural equation model defined by Y1 -> Y2 -> Y3, and direct genetic effects on Y1 and Y3.

Usage

data(simdata)

Arguments

Format

A data frame of dimension \( 4 \times 400 \). The first column is the factor G (genotype); the subsequent columns contain \(y_1, y_2\) and \(y_3\).

Examples

Run this code
# NOT RUN {
data(simdata)
out <- pcgen(simdata)
out2 <- pcRes(suffStat = simdata, alpha = 0.01, verbose= FALSE)
# }

Run the code above in your browser using DataLab