ctae | R Documentation |
Summarize and format adverse events for ct.gov/FDA reporting.
ctae(
data,
id = "casenum",
toxdesc = "toxdesc",
toxcat = "toxcat",
comment = NULL
)
ctae_table(x, sae, atrisk)
data |
a data frame with adverse events |
id , toxdesc , toxcat , comment |
column names with patient IDs, toxicity descriptions/terms, toxicity categories/organ systems, and comments/additional details (e.g., clarifications for other/specify) |
sae |
logical; if |
atrisk |
number of patients at-risk |
dd <- data.frame(
casenum = rep(1:2, c(3, 5)),
toxdesc = c('aa', 'aa', 'b', 'aa', 'aaa', 'b', 'bb', 'c'),
toxcat = c('A', 'A', 'B', 'A', 'A', 'B', 'B', 'C')
)
ae <- ctae(dd)
ae
ctae_table(ae, FALSE, 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.