sim.pheno.bin.E: Generates phenotype statuses

Description Usage Arguments Value Author(s)

Description

Generates affected and non-affected subjects.

Usage

1
2
sim.pheno.bin.E(num.obs = 10000, disease.prev = 0.1, environment = NULL,
  subject.effect.data = NULL, env.OR = 1.5)

Arguments

num.obs

number of observations to generate per iteration.

disease.prev

prevalence of the binary outcome.

environment

environmental exposure data.

subject.effect.data

subject effect data, reflects the heterogenity in baseline disease risk.

env.OR

odds ratios related to the exposure.

Value

a vector binary vector, the phenotype data.

Author(s)

Gaye A.


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