simdata {pcgen} | R Documentation |
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)
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
data(simdata)
out <- pcgen(simdata)
out2 <- pcRes(suffStat = simdata, alpha = 0.01, verbose= FALSE)
[Package pcgen version 0.2.0 Index]