applyBatteryOfMethods: Apply Battery of Methods

Description Usage Arguments Value

View source: R/applyBatteryOfMethods.R

Description

Applies a battery of methods to a simultaneous reporting data set

Usage

1
2
applyBatteryOfMethods(reports, n_drugs, n_events, tables = NULL,
  verbose = TRUE)

Arguments

reports

The raw SR data set, a binary matrix

n_drugs, n_events

The number of drugs and the number of events in the data set

tables

A data frame with the 2x2 tables. Must contain the columns drug_id, event_id, a, b, c and d. In case it is not given, it is derived from the reports.

verbose

Verbosity (Default: TRUE)

Value

The tables data frame with a column for each method


bips-hb/pvmcomparison documentation built on Dec. 13, 2020, 3:46 a.m.