powered by
Convert Vector of Variables Names to a Right-Sided Formula
asForm(x)
formula
character vector
Frank Harrell
Given a vector of character strings, turns them into a formula with no left hand side variable.
asForm(letters[1:6])
Run the code above in your browser using DataLab