SyntaxFix
Write A Post
Hire A Developer
Questions
The order() function fails when the column has levels or factor. It works properly when stringsAsFactors=FALSE is used in data.frame creation.