Creates a valid expression to generate a patient profile therapy table and ggplot2::ggplot()
plot using ADaM
datasets.
template_therapy(
dataname = "ANL",
atirel = "ATIREL",
cmdecod = "CMDECOD",
cmindc = "CMINDC",
cmdose = "CMDOSE",
cmtrt = "CMTRT",
cmdosu = "CMDOSU",
cmroute = "CMROUTE",
cmdosfrq = "CMDOSFRQ",
cmstdy = "CMSTDY",
cmendy = "CMENDY",
patient_id,
font_size = 12L,
ggplot2_args = teal.widgets::ggplot2_args()
)
a list
of expressions to generate a table or plot object.
(character
)
analysis data used in teal module.
(character
)
name of time relation of medication variable.
(character
)
name of standardized medication name variable.
(character
)
name of indication variable.
(character
)
name of dose per administration variable.
(character
)
name of reported name of drug, med, or therapy variable.
(character
)
name of dose units variable.
(character
)
name of route of administration variable.
(character
)
name of dosing frequency per interval variable.
(character
)
name of study relative day of start of medication variable.
(character
)
name of study day of end of medication variable.
(character
)
patient ID.
(numeric
)
font size value.
optional, (ggplot2_args
)
object created by teal.widgets::ggplot2_args()
with settings
for the module plot. The argument is merged with option teal.ggplot2_args
and with default module arguments
(hard coded in the module body).
For more details, see the vignette: vignette("custom-ggplot2-arguments", package = "teal.widgets")
.
tm_g_pp_therapy()