Description
Disproportionality Functions for Pharmacovigilance.
Description
Tools for performing disproportionality analysis using the information component, proportional reporting rate and the reporting odds ratio. The anticipated use is passing data to the da() function, which executes the disproportionality analysis. See Norén et al (2011) <doi:10.1177/0962280211403604> and Montastruc et al (2011) <doi:10.1111/j.1365-2125.2011.04037.x> for further details.
README.md
pvda
An R package for executing disproportionality analyses in pharmacovigilance, using the information component (IC), proportional reporting rate (PRR) and reporting odds ratio (ROR).
Installation
# Install stable version from CRAN
install.packages("pvda")
Example code
To run a disproportionality analysis, pass the adverse event report-level data (here, drug_event_df) to function da as:
library("pvda")
da1 <-
drug_event_df |>
da()
summary(da1)
To extract the results in a data frame, access "da_df" as a list object:
da_results <-
da1$da_df