sim.QTL.data.E: Generates subjects for a continuous outcome

Description Usage Arguments Value Author(s)

Description

Generates the specified number of subjects for a quantitative outcome.

Usage

1
2
3
sim.QTL.data.E(num.obs = 500, env.model = 0, ph.mean = 0, ph.sd = 1,
  env.efkt = 0.5, env.prev = 0.1, env.mean = 0, env.sd = 1,
  env.low.lim = 0, env.up.lim = 1, pheno.reliability = 0.9)

Arguments

num.obs

number of subjects to simulate.

ph.mean

mean of the outcome variable in the study population

ph.sd

standard deviation of the outcome in the study population

env.model

model of the environmental exposure.

env.efkt

effects of the environment determinants.

env.prev

prevalence of the environmental exposure.

env.mean

statistical mean for a normally distributed exposure.

env.sd

standard deviation for a normally distributed exposure.

env.low.lim

lower limit for a uniformly distributed exposure.

env.up.lim

upper limit for a uniformly distributed exposure.

pheno.reliability

reliability of the assessment for a quantitative outcome.

Value

a matrix that holds the outcome (phenotype) and exposure (environment) data.

Author(s)

Gaye, A.


agaye/ESPRESSO.E documentation built on May 10, 2019, 7:30 a.m.