powered by
Takes multiple character arguments as left and right-hand side arguments of a formula, and concatenates them in a single string.
fml(left, right, join.left = " + ", join.right = " + ")
a string with left-hand side formula argument
a character vector with right-hand side formula arguments
concatenation string for elements of character vector specified in left
left
concatenation string for elements of character vector specified in right
right
# NOT RUN { fml("hp", c("am", "cyl")) # "hp ~ am + cyl" # }
Run the code above in your browser using DataLab