| validate_table2 | R Documentation |
Validates inputs for table2() function that accepts multiple variables via ... with optional data frame.
validate_table2(..., data = NULL, func_name = "table2", data_name = NULL)
... |
One or more variables to be tabulated. |
data |
An optional data frame containing the variables. |
func_name |
Character string. Name of the calling function (for error messages). Default is "table2". |
data_name |
Character string. Name of the data argument (for error messages). If NULL, will attempt to infer from the call. |
A list containing:
dots: List of evaluated variables (ready for base::table)
dot_expressions: List of expressions (for variable name extraction)
data_name: Name of data argument (for error messages)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.