mng01_main | R Documentation |
MNG01
Mean Plot Graph.Overview of a summary statistics across time and arm for a selected data set.
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(),
line_type = NULL,
ggtheme = gg_theme_chevron(),
table = c("n", center_fun, interval_fun),
...
)
mng01_pre(adam_db, dataset, x_var = "AVISIT", ...)
mng01
adam_db |
( |
dataset |
( |
x_var |
( |
y_var |
( |
y_name |
( |
y_unit |
( |
arm_var |
( |
center_fun |
( |
interval_fun |
( |
jitter |
( |
line_col |
( |
line_type |
( |
ggtheme |
( |
table |
( |
... |
passed to |
An object of class chevron_g
of length 1.
No overall value.
Preprocessing filters for ANL01FL
in the selected data set.
the main function returns a list
of ggplot
objects.
a list of ggplot
objects.
the preprocessing function returns a list
of data.frame
.
mng01_main()
: Main TLG Function
mng01_pre()
: Preprocessing
adam_db
object must contain the table specified by dataset
with the columns specified by x_var
, y_var
,
y_name
, y_unit
and arm_var
.
gg_theme_chevron()
, tern::g_lineplot()
.
col <- c(
"A: Drug X" = "black",
"B: Placebo" = "blue",
"C: Combination" = "gray"
)
lt <- c(
"A: Drug X" = "29",
"B: Placebo" = "99",
"C: Combination" = "solid"
)
run(
mng01,
syn_data,
dataset = "adlb",
x_var = c("AVISIT", "AVISITN"),
line_col = col,
line_type = lt
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.