R newbie question here. I have a list called dbdata. Normally I use it like this:
dbdata
myresults <- rlm(V001 ~ V002+V003, data=dbdata)
You can create formulas based on strings with the reformulate function:
reformulate
form <- reformulate(c(var2, var3), response = var1) # V001 ~ V002 + V003 myresults <- rlm(form, data = dbdata)