Hi everyone. So I'm still quite new to this forum, but I'm hoping that somebody can help me.
I have conducted a robust 2 way anova on some data using the "t2way" function from the WRS2 package. I'm trying to run robust post-hoc tests using "mcp2atm" from the WRS2 package, but I keep getting the error message " Error in match.arg(method) : 'arg' must be of length 1"
I have the data saved in an excel spreadsheet, with factor 1( cooking method: s, b, m, f , or p) and factor 2 (storage: as, rs) in seperate columns, then I have the dependent variable (d3) in a seperate column. The data file is called vd3.
I import data from excel into R using the "import dataset" function, and then attempt to run the following code:
mcp2atm(d3 ~ storage * method, data = vd3)
Error in match.arg(method) : 'arg' must be of length 1
Any help will be appreciated, thank you!