powered by
The gene to have data generated has two parents.
Case_2P(N, P1, P2, b0.1, b1.1, b1.2, sd.1)
Number of observations
Data vector of the parent gene, P1.
Data vector of the parent gene, P2.
Intercept of b0.1 + b1.1*P1 + b1.2*P2, where P1 and P2 are the parents of the corresponding gene.
Slope of P1 for b0.1 + b1.1*P1+ b1.2*P2, where P1 and P2 are the parents of the corresponding gene.
Slope of P2 for b0.1 + b1.1*P1 + b1.2*P2, where P1 and P2 are the parents of the corresponding gene.
Standard deviation for corresponding data generated genes.
Vector
SimulatedData for simulated data generating function.
# NOT RUN { Case_2P(N = 10^3, P1 = 1, P2 = 1, b0.1 = 0, b1.1 = 1, b1.2 = 1, sd.1 = 1) # }
Run the code above in your browser using DataLab