R - Delete a tag without deleting a shortcut

I would like to remove the tick marks from the graph in R, but not the text associated with the individual marks. How to do it?

My code is as follows:

boxplot(boxDat ~ class, ylab = "Predictive Scoring", names = c("ANN", "Random\nForest", "Logistic\nRegression"), cex.axis=1, xaxt='n')
+4
source share
1 answer

Maybe something like this:

boxplot(count ~ spray, data = InsectSprays, col = "lightgray",xaxt = "n")
axis(side = 1,at = 1:6,letters[1:6],tick = FALSE)
+7
source

Source: https://habr.com/ru/post/1545767/


All Articles