Learn R Programming

MRPC (version 2.0.0)

Case_3P: Case for Three Parent Generating Simulated Data

Description

The gene to have data generated has three parents.

Usage

Case_3P(N, P1, P2, P3, b0.1, b1.1, b1.2, b1.3, sd.1)

Arguments

N

Number of observations.

P1

Data vector of the parent gene, P1.

P2

Data vector of the parent gene, P2.

P3

Data vector of the parent gene, P3.

b0.1

Intercept of b0.1 + b1.1*P1 + b1.2*P2 + b1.3*P3, where P1, P2, and P3 are the parents of the corresponding gene.

b1.1

Slope of P1 for b0.1 + b1.1*P1 + b1.2*P2 + b1.3*P3, where P1, P2, and P3 are the parents of the corresponding gene.

b1.2

Slope of P2 for b0.1 + b1.1*P1 + b1.2*P2 + b1.3*P3, where P1, P2, and P3 are the parents of the corresponding gene.

b1.3

Slope of P3 for b0.1 + b1.1*P1 + b1.2*P2 + b1.3*P3, where P1, P2, and P3 are the parents of the corresponding gene.

sd.1

Standard deviation for corresponding data generated gene.

Value

Vector

See Also

SimulatedData for simulated data generating function.

Examples

Run this code
# NOT RUN {
  Case_3P(N = 10^3, P1 = 1, P2 = 1, P3 = 1, 
          b0.1 = 0, b1.1 = 1, b1.2 = 1, 
          b1.3 = 1, sd.1 = 1)
# }

Run the code above in your browser using DataLab