View source: R/makeme_helpers.R
| resolve_variable_overlaps | R Documentation |
Internal helper function that handles cases where variables are selected for both dependent and independent roles. Automatically removes overlapping variables from the dependent list and provides user feedback.
resolve_variable_overlaps(dep, indep)
dep |
Character vector of dependent variable names |
indep |
Character vector of independent variable names |
If overlapping variables are found:
Informs user about the overlap via cli::cli_inform()
Removes overlapping variables from dep vector
Throws error if no dependent variables remain after removal
Character vector of dependent variable names with overlaps removed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.