Using sys.calls(), sys.frames() and match.call(), this utility function extracts and/or infers information about the data being processed. Data frame name, variable names and labels if any, subsetting information, grouping information (when by() is used) are returned by the function which tries various methods to get this information.
parse_call(
mc,
var = "x",
df_name = TRUE,
df_label = TRUE,
var_name = TRUE,
var_label = TRUE,
caller = "",
silent = TRUE
)
A list consisting of one or many of the following items
Character. “x” (default) or “y” (the latter
being used only in ctable
).
Logical.
Logical.
Logical.
Logical.
Logical. Hide console messages. TRUE
by default.
Dominic Comtois, dominic.comtois@gmail.com