| mng01_main {chevron} | R Documentation |
MNG01 Mean Plot Graph.
Description
Overview of a summary statistics across time and arm for a selected data set.
Usage
mng01_main(
adam_db,
dataset = "adlb",
x_var = "AVISIT",
y_var = "AVAL",
y_name = "PARAM",
y_unit = NULL,
arm_var = "ACTARM",
center_fun = "mean",
interval_fun = "mean_ci",
jitter = 0.3,
line_col = nestcolor::color_palette(),
ggtheme = gg_theme_chevron(),
table = c("n", center_fun, interval_fun),
...
)
mng01_pre(adam_db, dataset, x_var = "AVISIT", ...)
mng01
Arguments
adam_db |
( |
dataset |
( |
x_var |
( |
y_var |
( |
y_name |
( |
y_unit |
( |
arm_var |
( |
center_fun |
( |
interval_fun |
( |
jitter |
( |
line_col |
( |
ggtheme |
( |
table |
( |
... |
passed to |
Format
An object of class chevron_g of length 1.
Details
No overall value.
Preprocessing filters for
ANL01FLin the selected data set.
Value
the main function returns a list of ggplot objects.
a list of ggplot objects.
the preprocessing function returns a list of data.frame.
Functions
-
mng01_main(): Main TLG Function -
mng01_pre(): Preprocessing
Note
-
adam_dbobject must contain the table specified bydatasetwith the columns specified byx_var,y_var,y_name,y_unitandarm_var.
See Also
gg_theme_chevron(), tern::g_lineplot().
Examples
col <- c(
"A: Drug X" = "black",
"B: Placebo" = "blue",
"C: Combination" = "gray"
)
run(mng01, syn_data, dataset = "adlb", x_var = c("AVISIT", "AVISITN"), line_col = col)