eot.table: End of Treatment Table

Description Usage Arguments Details Value Author(s) Examples

View source: R/eot.table.R

Description

This function creates the end of treatment table for Alliance DSMB reports

Usage

1
eot.table(data, id = "dcntr_id", endatrsn = "endatrsn", arm = "arm")

Arguments

data

A dataset with 1 row for each patient accrued.

id

Patient ID variable

endatrsn

End of treatment reason variable. May be numeric or factored.

arm

Arm variable.

Details

If endatrsn column is a factor, the given values will be used. However, if the column is numeric, the values will be mapped to pre-specified descriptions.

Value map for numeric input:

NA = On Treatment

1 = Treatment Completed Per Protocol

2 = Patient Withdrawal/Refusal After Beginning Protocol Therapy

3 = Adverse Events/Side Effects/Complications

4 = Disease Progression, Relapse During Active Treatment

5 = Alternative Therapy

6 = Patient Off-Treatment For Other Complicating Disease

7 = Death On Study

8 = Other

10 = Disease Progression Before Active Treatment

24 = Patient Withdrawal/Refusal Prior To Beginning Protocol Therapy

Value

This function returns an end of treatment table formatted for the Alliance DSMB report.

Author(s)

Sawyer Jacobson

Examples

1
2
3
4
crtlibn(d = "A041501")

x = eot.table(casecrse, arm = "curr_arm")
x$table

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