Allows to join numeric variables that can be referred
to via the variables
-argument of many functions.
addStatVariables(
object,
input_df,
variable_names,
phase = NULL,
verbose = TRUE
)
object | A valid cypro object. |
---|---|
input_df | A data.frame that contains the variables denoted in argument |
variable_names | Character vector. The name of the variables that are to be joined. |
phase | Character or numeric. If character, the ordinal value referring to the phase of interest (e.g. 'first', 'second' etc.). referring to the phase of interest or 'all'. If numeric, the number referring to the phase. If set to NULL takes the phase denoted as default with Ignored if the experiment design contains only one phase. |
verbose | Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
stat_df | A data.frame that contains the variables denoted in argument |
An updated cypro object that contains the data added.