library(RMallow)
dummy = data.frame(item1 = c(1.5, 2, 3, 1, 1, 2),
item2 = c(1.5, 3, 1.5, 2, 2, 3),
item3 = c(3, 1, 1.5, 3, 3, 1))
mallows(dummy, G = 1, iter = 10)
我正在使用mallows
函数,但是我收到以下错误:Error in mget(plabels[hasSubclass], env) : invalid first argument
。有谁知道可能导致这种情况的原因?