View source: R/makeme_helpers.R
| evaluate_variable_selection | R Documentation |
Internal helper function that evaluates tidyselect expressions for dependent and independent variables, returning their column positions in the data frame.
evaluate_variable_selection(data, dep, indep)
data |
A data frame containing the variables to be selected |
dep |
Quosure or tidyselect expression for dependent variables |
indep |
Quosure or tidyselect expression for independent variables |
A list with two named elements:
dep_pos: Named integer vector of column positions for dependent variables
indep_pos: Named integer vector of column positions for independent variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.