multiRunRR: Summary measures base on epiR for multi variables

Description Usage Arguments Details Value Author(s)

Description

Computes summary measures of risk and a chi-squared test for difference in the observed proportions from count data presented in a 2 by 2 table with high low vector. With multiple strata the function returns crude and Mantel-Haenszel adjusted measures of association and chi-squared tests of homogeneity for multi variables (based on [epiR]{epi.2by2}.

Usage

1
2
3
multiRunRR(multiHighLow = NULL, metadavector = NULL,
  prefix = "Disease", grouptype = "Case", method = "cohort.count",
  conf.level = 0.95, score = "OR.strata.score", ...)

Arguments

multiHighLow

list, mulit variable high-lower-vector.

metadavector

dataframe, metada dataframe contained the group information.

prefix

character, the header names of the metada data frame, default is 'Group'.

grouptype

character, the positive group names, default is "Case".

method

characer, a character string indicating the study design on which the tabular data has been based. Options are cohort.count, cohort.time, case.control, or cross.sectional, default is cohort.count. See epi.2by2 for details.

conf.level

numeric, magnitude of the returned confidence intervals. Must be a single number between 0 and 1. See epi.2by2 for details.

score

character, Wald and score confidence intervals for the effect value for each strata, default is OR.strata.score, See epi.2by2 for details .

...

Additional arguments passed to epi.2by2.

Details

TODO

Value

the summary measures of risk and a chi-squared test

Author(s)

ShuangbinXu


xiangpin/MetaMicrobiome documentation built on May 26, 2019, 2:34 a.m.