validReport: Valid Report

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Checks whether the given report is 'valid'. A report should contain at least one drug and at least one event (otherwise it would never been sent to the spontaneous reporitng sytem anyway).

Usage

1
validReport(report, n_drugs, n_events)

Arguments

report

A logical matrix with one row and n_drugs + n_events columns

n_drugs

The total number of drugs

n_events

The total number of events

Value

TRUE when the report is valid, FALSE otherwise


bips-hb/srsim documentation built on Dec. 10, 2020, 3:16 p.m.