Error in if (xi > xj) 1L else -1L : missing value where TRUE/FALSE needed In addition: Warning message: In Ops.factor(xi, xj) : ‘>’ not meaningful for factors

I have a template of Machine learning code that write a script in other file and run it , when run cm table gets this error. how to fit it?
this code in the main template works true!!

In addition: Warning message:
In Ops.factor(xi, xj) : ‘>’ not meaningful for factors

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.