drug_event_df | R Documentation |
drug_event_df is a simulated dataset, slightly larger than the "tiny_dataset" which is also contained in this package.
drug_event_df
'drug_event_df' A data frame with 3,971 rows and 3 columns. In total 1000 unique report_ids, i.e. the same report_id can have several drugs and events.
Number of drugs per report_id is sampled as 1 + Pois(3), with increasing probability as the drug letter closes in on Z. Every drug is assigned an event, with decreasing probability as the event index number increases towards 1000. See the DATASET.R file in the data-raw folder for details.
A patient or report identifier
One of 26 fake drugs (Drug_A - Drug_Z)
Sampled events (Event_1 - Event_1000)
Simulated data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.