cmt02_pt_main | R Documentation |
CMT02_PT
Table 1 (Default) Concomitant Medications by Preferred Name.A concomitant medication table with the number of subjects and the total number of treatments by medication name sorted by frequencies.
cmt02_pt_main(
adam_db,
arm_var = "ARM",
lbl_overall = NULL,
row_split_var = NULL,
medname_var = "CMDECOD",
summary_labels = list(TOTAL = cmt01_label),
...
)
cmt02_pt_pre(adam_db, ...)
cmt02_pt_post(
tlg,
prune_0 = TRUE,
sort_by_freq = FALSE,
row_split_var = NULL,
medname_var = "CMDECOD",
...
)
cmt02_pt
adam_db |
( |
arm_var |
( |
lbl_overall |
( |
row_split_var |
( |
medname_var |
( |
summary_labels |
( |
... |
not used. |
tlg |
( |
prune_0 |
( |
sort_by_freq |
( |
An object of class chevron_t
of length 1.
Data should be filtered for concomitant medication. (ATIREL == "CONCOMITANT")
.
Numbers represent absolute numbers of subjects and fraction of N
, or absolute numbers when specified.
Remove zero-count rows unless overridden with prune_0 = FALSE
.
Split columns by arm.
Does not include a total column by default.
Sort by medication class alphabetically and within medication class by decreasing total number of patients with
the specific medication.
summary_labels
is used to control the summary for each level. If "all" is used, then each split will have that
summary statistic with the labels. One special case is "TOTAL", this is for the overall population.
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).
cmt02_pt_main()
: Main TLG function
cmt02_pt_pre()
: Preprocessing
cmt02_pt_post()
: Postprocessing
adam_db
object must contain an adcm
table with the columns specified in row_split_var
and medname_var
as well as "CMSEQ"
.
run(cmt02_pt, syn_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.