derive_arm_names | R Documentation |
This function checks if arm_names
is provided. If arm_names
is missing, it attempts to derive names
from mu_list
. If mu_list
does not contain names, it assigns default names ("A1", "A2", etc.) to each arm.
Informational messages are displayed if verbose
is set to TRUE
.
derive_arm_names(arm_names, mu_list, verbose = FALSE)
arm_names |
Optional vector of arm names. |
mu_list |
Named list of means per treatment arm, from which arm names may be derived. |
verbose |
Logical, if |
A vector of arm names.
Thomas Debray tdebray@fromdatatowisdom.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.