Creates a valid expression to generate ggplot2::ggplot() plots of individual patients.
template_g_ipp(
dataname = "ANL",
paramcd,
arm_var,
arm_levels,
avalu_first,
paramcd_first,
aval_var = "AVAL",
avalu_var = "AVALU",
id_var = "USUBJID",
visit_var = "AVISIT",
baseline_var = "BASE",
add_baseline_hline = FALSE,
separate_by_obs = FALSE,
ggplot2_args = teal.widgets::ggplot2_args(),
suppress_legend = FALSE,
add_avalu = TRUE
)a list of expressions to generate a table or plot object.
(character)
analysis data used in teal module.
(character)
name of the parameter code variable.
(character)
variable names that can be used as arm_var.
(character)
vector of all levels of arm_var.
(character)
avalu_var text to append to the plot title and y-axis label if add_avalu is
TRUE.
(character)
paramcd text to append to the plot title and y-axis label.
(character)
name of the analysis value variable.
(character)
name of the analysis value unit variable.
(character)
the variable name for subject id.
(character)
name of the variable for visit timepoints.
(character)
name of the variable for baseline values of the analysis variable.
(logical)
whether a horizontal line should be added to the plot at baseline y-value.
(logical)
whether to create multi-panel plots.
(ggplot2_args) optional
object created by teal.widgets::ggplot2_args() with settings
for the module plot. For this module, this argument will only accept ggplot2_args object with labs list of
the following child elements: title, subtitle, x, y. No other elements are taken into account. 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").
(logical)
whether to suppress the plot legend.
(logical)
whether avalu_first text should be appended to the plot title and y-axis label.
tm_g_ipp()