
Generate a flowchart for a specified pregnancy algorithm Creates a graphical flowchart summarizing inclusion and exclusion criteria for pregnancy algorithms.
Source:R/flowchart_generator.R
flowchart_generator.RdGenerate a flowchart for a specified pregnancy algorithm Creates a graphical flowchart summarizing inclusion and exclusion criteria for pregnancy algorithms.
Arguments
- database
A FAERS@DiAna quarter (e.g., '25Q2') or the name of the folder containing your input data. Defaults to
FAERS_version.- pregnancy_flags_table
A data frame returned by
generate_pregnancy_flags().- algorithm
Character string specifying the algorithm to display. Allowed values: "UMC", "EMA", "SakaiHPPV", "SakaHS", "SakaiM".