irbtox_listing: Create listing of AEs for Mayo DSMB reports

Description Usage Arguments Value Author(s) Examples

View source: R/irbtox_listing.R

Description

This function is design to replicate irbtoxrep.sas macro AE listing output for Mayo DSMB reports.

Usage

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"
)

Arguments

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

Value

This function creates a listing of the AE events for the Mayo DSMB report

Author(s)

Sawyer Jacobson

Adam Pettinger

Examples

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

sjacobson94/clinicaltrials documentation built on Oct. 27, 2020, 6:43 p.m.