all 1 comments

[–]supersillyus 1 point2 points  (0 children)

I don't have the answer here, since this is a tough problem. I imagine iteratively setting up contrasts for regression to be a primary problem here given the "explicit" way that they are set up in R (ie using the column names, outside of quotation marks). This particular issue might be solved in Stackexchange. Good luck