Description Usage Arguments Value Author(s) Examples
View source: R/irbtox_listing.R
This function is design to replicate irbtoxrep.sas macro AE listing output for Mayo DSMB reports.
1 2 3 4 5 6 7 8 | irbtox_listing(
cytox,
id = "dcntr_id",
byvar = "arm",
grade.term = "grade",
relation.term = "rel_smed",
tox.term = "toxicity"
)
|
cytox |
The toxicity dataset containing multiple observations per patient with one observation per AE > grade 0 |
id |
The patient ID variable used in the dataset |
byvar |
Variable used to separate summary by arm. If not present, "All Patients" printed for arm |
grade.term |
Character. The variable that contains the AE grade |
relation.term |
Character. The variable that containst the AE attribution |
tox.term |
Character. The variable that contains the toxicity (MEDRA) code |
This function creates a listing of the AE events for the Mayo DSMB report
Sawyer Jacobson
Adam Pettinger
1 2 3 4 5 6 | #With data loaded for A041501
crtlibn(d = 'A041501')
irb.listing <- irbtox_listing(cytox = cytox, id = "dcntr_id", byvar = "arm", tox.term = "toxicity")
irb.listing$table
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.