RMPT01
Duration of Exposure for Risk Management Plan Table.
rmpt01.Rd
The RMPT01
table provides an overview of duration of exposure.
Usage
rmpt01_main(
adam_db,
summaryvars = "AVALCAT1",
show_tot = TRUE,
row_split_var = NULL,
col_split_var = NULL,
overall_col_lbl = NULL,
...
)
rmpt01_pre(adam_db, summaryvars = "AVALCAT1", ...)
rmpt01_post(tlg, prune_0 = FALSE, ...)
rmpt01
Arguments
- adam_db
(
list
ofdata.frames
) object containing theADaM
datasets- summaryvars
(
string
) variables to be analyzed. The label attribute of the corresponding columns inadex
table ofadam_db
is used as label.- show_tot
(
flag
) whether to display the cumulative total.- row_split_var
(
string
) the name of the column that containing variable to split exposure by.- col_split_var
(
string
) additional column splitting variable.- overall_col_lbl
(
string
) name of the overall column. IfNULL
, no overall level is added.- ...
not used.
- tlg
(
TableTree
,Listing
orggplot
) object typically produced by amain
function.- prune_0
(
flag
) remove 0 count rows
Details
Person time is the sum of exposure across all patients.
Summary statistics are by default based on the number of patients in the corresponding
N
row (number of non-missing values).Does not remove zero-count rows unless overridden with
prune_0 = TRUE
.
Functions
rmpt01_main()
: Main TLG functionrmpt01_pre()
: Preprocessingrmpt01_post()
: Postprocessing
Note
adam_db
object must contain anadex
table with"AVAL"
and the columns specified bysummaryvars
.
Examples
run(rmpt01, syn_data, col_split_var = "SEX")
#> F M
#> Duration of exposure Patients Person time Patients Person time
#> (N=231) (N=231) (N=169) (N=169)
#> ———————————————————————————————————————————————————————————————————————————————————————————
#> < 1 month 25 (10.8%) 435 14 (8.3%) 293
#> 1 to <3 months 67 (29.0%) 3790 44 (26.0%) 2628
#> 3 to <6 months 81 (35.1%) 10567 55 (32.5%) 7078
#> >=6 months 58 (25.1%) 12572 56 (33.1%) 12337
#> Total patients number/person time 231 (100.0%) 27364 169 (100.0%) 22336