Description Usage Arguments Value Author(s) Examples
View source: R/aerpt.summary.R
This function is design to replicate aerpt_alliance_macro.sas AE summary output for Alliance DSMB reports.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | aerpt.summary(
cytox,
id,
grade.cutoff = 1,
rel.cutoff = 0,
rel.include = 1,
byvar = "arm",
arm.include = 1,
arm.labels = NULL,
toxvar = "toxicity",
relvar = "rel_smed",
gradevar = "grade",
bodysysvar = "bodysys"
)
|
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 |
grade.cutoff |
Grade cutoff for minimum AE grade. Inclusive |
rel.cutoff |
Attribution cutoff for minimum AE attribution. Inclusive |
rel.include |
Value of 0 or 1. If 0, "Regardless of Attribution" printed in header. If 1, "At least possibly related" printed in header |
byvar |
Variable used to separate summary by arm. If not present, "All Patients" printed for arm. Set to NULL if calculations are desired for all patients together. |
arm.include |
Include "Arm" in table (1) or not (0). Default is 1. |
arm.labels |
Option to include additional Arm labels in the table header. Add as vector of characters. |
toxvar |
Variable containing numeric toxicity codes. |
relvar |
Variable containing numeric relation values 1-5. |
gradevar |
Grade variable, numeric. |
bodysysvar |
Body system variable, character. |
This function creates a summary of the AE events for the Alliance DSMB report
Sawyer Jacobson
Adam Pettinger
1 2 3 4 5 6 7 | #With data loaded for A041501
crtlibn(d = 'A041501')
all.summary <- aerpt.summary(cytox, id="dcntr_id", byvar="arm",
grade.cutoff = 3, rel.cutoff = 0, rel.include = 0)
all.summary$table
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.