I\'d like to create a function that automatically generates uni and multivariate regression analyses, but I\'m not able to figure out how I can specify **variables in vector
you could use a list k=list(a,b). This creates a list with components a and b but is not a list of variable names.
k=list(a,b)