It looks like a common problem when using do.call("order", dataFrame).
If dataFrame has a column whose name matches an argument to order
you will get this problem. The solution is to use do.call("order",
unname(dataFrame)).
E.g.,
> do.call("order", tuneAcc)
Error in match.arg(method) : 'arg'
I am merging two data frames:
tuneAcc <- structure(list(select = c(FALSE, TRUE), method =
structure(c(1L, 1L), .Label = "GCV.Cp", class = "factor"), RMSE =
c(29.2102056093962, 28.9743318817886), Rsquared =
c(0.0322612161559773, 0.0281713457306074), RMSESD = c(0.981573768028697,
2 matches
Mail list logo