Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.33 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.33 KB

pvda pvda website

An R package for executing disproportionality analyses in pharmacovigilance, using the information component (IC), proportional reporting rate (PRR) and reporting odds ratio (ROR).

CRAN status R-CMD-check Codecov test coverage

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)

Screenshot of the summary print output.

To extract the results in a data frame, access "da_df" as a list object:

da_results <- 
da1$da_df

Screenshot of the da_df data frame.