powered by
Removes duplicate control variables from user input.
duplicate_remover(controls, x)
A vector of strings containing control variable names
A vector of strings containing control variable names.
A string containing the independent variable name.
duplicate_remover(controls = c("control1", "control2*control3"), x = "independentVariable");
Run the code above in your browser using DataLab