aet05_main {chevron} | R Documentation |
AET05
Table 1 (Default) Adverse Event Rate Adjusted for Patient-Years at Risk - First Occurrence.
Description
The AET05
table produces the standard adverse event rate adjusted for patient-years at risk summary
considering first occurrence.
Usage
aet05_main(
adam_db,
dataset = "adsaftte",
arm_var = "ACTARM",
lbl_overall = NULL,
...
)
aet05_pre(adam_db, dataset = "adsaftte", ...)
aet05_post(tlg, prune_0 = FALSE, ...)
aet05
Arguments
adam_db |
( |
dataset |
( |
arm_var |
( |
lbl_overall |
( |
... |
Further arguments passed to |
tlg |
( |
prune_0 |
( |
Format
An object of class chevron_t
of length 1.
Details
Total patient-years at risk is the sum over all patients of the time intervals (in years).
Split columns by arm, typically
ACTARM
.Split rows by parameter code.
-
AVAL
is patient-years at risk. -
N_EVENTS
is the number of adverse events observed. The table allows confidence level to be adjusted, default is 95%.
Keep zero count rows by default.
Value
the main function returns an rtables
object.
the preprocessing function returns a list
of data.frame
.
the postprocessing function returns an rtables
object or an ElementaryTable
(null report).
Functions
-
aet05_main()
: Main TLG function -
aet05_pre()
: Preprocessing -
aet05_post()
: Postprocessing
Note
-
adam_db
object must contain table named asdataset
with the columns"PARAMCD"
,"PARAM"
,"AVAL"
, and"CNSR"
.
Examples
library(dplyr)
library(dunlin)
proc_data <- log_filter(syn_data, PARAMCD == "AETTE1", "adsaftte")
run(aet05, proc_data)
run(aet05, proc_data, conf_level = 0.90, conf_type = "exact")