A want a barplot without the labels beneath the bars:
I have tried names.arg = ""
, but it returns an error:
Error in barplot.default(stats::xtabs(mf, addNA = TRUE), horiz = horiz, :
incorrect number of names
I understand that the length of names.arg
should correspond to the number of bars, but I don’t want to calculate that and create something like names.arg = rep("", 50)
.
How can I suppress those labels?
New contributor
Ben is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.