sim.pheno.bin.ExE: Generates phenotype status

Description Usage Arguments Value Author(s)

Description

Generates affected and non-affected subjects

Usage

1
2
3
4
sim.pheno.bin.ExE(num.obs = NULL, disease.prev = NULL,
  environment1 = NULL, environment2 = NULL, interaction = NULL,
  subject.effect.data = NULL, env1.OR = NULL, env2.OR = NULL,
  int.OR = NULL)

Arguments

num.obs

Number of observations to generate per iteration

disease.prev

Prevalence of the binary outcome

environment1

Exposure data for the 1st determinant

environment2

Exposure data for the 2nd determinant

interaction

data

subject.effect.data

Subject effect data, reflects the heterogenity in baseline disease risk

env1.OR

Odds ratios of the 1st determinant

env2.OR

Odds ratios of the 2nd determinant

int.OR

Odds ration of the interaction

Value

A dataframe of phenotype

Author(s)

Gaye A.


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