Creates a valid expression to generate an analysis of variance summary table.
template_ancova(
dataname = "ANL",
parentname = "ADSL",
arm_var,
ref_arm = NULL,
comp_arm = NULL,
combine_comp_arms = FALSE,
aval_var,
label_aval = NULL,
cov_var,
include_interact = FALSE,
interact_var = NULL,
interact_y = FALSE,
paramcd_levels = "",
paramcd_var = "PARAMCD",
label_paramcd = NULL,
visit_levels = "",
visit_var = "AVISIT",
conf_level = 0.95,
basic_table_args = teal.widgets::basic_table_args()
)a list of expressions to generate a table or plot object.
(character)
analysis data used in teal module.
(character)
parent analysis data used in teal module, usually this refers to ADSL.
(character)
variable names that can be used as arm_var.
(character)
the level of reference arm in case of arm comparison.
(character)
the level of comparison arm in case of arm comparison.
(logical)
triggers the combination of comparison arms.
(character)
name of the analysis value variable.
(character)
label of value variable used for title rendering.
(character)
names of the covariates variables.
(logical)
whether an interaction term should be included in the model.
(character)
name of the variable that should have interactions with arm. If the
interaction is not needed, the default option is NULL.
(character)
a selected item from the interact_var column which will be used to select the
specific ANCOVA results. If the interaction is not needed, the default option is FALSE.
(character)
variable levels for the studied parameter.
(character)
variable name for the studied parameter.
(character)
variable label used for title rendering.
(character)
variable levels for studied visits.
(character)
variable names that can be used as visit variable. Must be a factor in
dataname.
(numeric)
value for the confidence level within the range of (0, 1).
(basic_table_args) optional
object created by teal.widgets::basic_table_args()
with settings for the module table. The argument is merged with option teal.basic_table_args and with default
module arguments (hard coded in the module body).
For more details, see the vignette: vignette("custom-basic-table-arguments", package = "teal.widgets").
tm_t_ancova()