rep_epi_tests: A repeated epi.tests function

View source: R/rep_epi_tests.R

rep_epi_testsR Documentation

A repeated epi.tests function

Description

For bivariate analyses. The confint() function is rather slow, causing the whole function to hang when including many predictors and calculating the ORs with CI.

Usage

rep_epi_tests(gold, test, data)

Arguments

gold

the test or meassure used as "golden standard". Format as list of variable names to include. All variables should be formated as dichotomised factor.

test

possible predictive tests to evaluate. Format as list of variable names to include. All variables should be formated as dichotomised factor.

data

dataframe to draw variables from.

Details

Repeats the epi.tests from the epiR package. Either gs or test should be of length 1.


agdamsbo/daDoctoR documentation built on Aug. 30, 2022, 4:29 p.m.