The function get_variable_list()
makes a list of the (original) and,
if applicable, the transformed variable names.
get_variable_list(response_vbl, time_vbl, batch_vbl, xform = c("no", "no"))
A list with the variable names. If the data have been transformed,
the list element names of the original variables have the suffix
".orig"
.
A character string specifying the response variable name
that must be a column of data
.
A character string specifying the time variable name that
must be a column of data
.
A character string specifying the column in data
with the grouping information (i.e. a factorial variable) for the
differentiation of the observations of the different batches.
A vector of two character strings specifying the transformation
of the response and the time variable. The default is “no”
transformation, i.e. c("no", "no")
, where the first element
specifies the transformation of the \(x\) variable and the second
element the transformation of the \(y\) variable. Valid alternatives
for \(x\) and/or \(y\) variable transformation are "log"
(natural logarithm), "sqrt"
(square root) and "sq"
(square).
The function get_variable_list()
makes a list of the
variable names. If data have been transformed, the list comprises the
original variable name(s) (with suffix .orig in the corresponding list
element names) and the transformed variable name(s).