Description Usage Arguments Details Value See Also
Creates a data frame containing all 2 x 2 contingency tables
given a raw spontaneous reporting (SR) data set. An SR data set
is a binary matrix, where each row is a report. The first
columns represent the presence or absence of a drug, the
The other columns represent the presence or absence of an event.
See for more information the wrapper function,
convertRawReports2Tables
.
1 | convertRawReports2TablesRcpp(reports, n_drugs, n_events)
|
reports |
A binary matrix. Each row is a report |
n_drugs |
The number of drugs |
n_events |
The number of events |
The code is a simplified version of the function create2x2TablesRcpp
in the SRSim
package.
A dataframe. A description of the columns can be found in the commentary
for the function convertRawReports2Tables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.