Send the following on WhatsApp
Continue to ChatHow to Solve R Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) : 'x' must be atomic https://researchdatapod.com/how-to-solve-r-error-in-sort-intx-na-last-na-last-decreasing-decreasing-x-must-be-atomic/