parse_args | R Documentation |
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_args( sys_calls, sys_frames, match_call, var = "x", silent = FALSE, df_name = TRUE, df_label = TRUE, var_name = TRUE, var_label = TRUE, caller = "" )
sys_calls |
Object created using |
sys_frames |
Object created using |
match_call |
Object created using |
var |
Character. “x” (default) and/or “y” (the latter
being used only in |
silent |
Logical. Hide console messages. |
A list consisting of one or many of the following items
df_name The data frame name
df_label The data frame label
var_name The variable name(s)
var_label The variable label
by_var The variable used in by()
, when in the call stack
by_group The group, when by()
was used
by_first Binary indicator used when by()
is in the call stack
by_last Binary indicator
Dominic Comtois, dominic.comtois@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.