我有一个这样生成的图:
ggplot(dt.2, aes(x=AgeGroup, y=Prevalence)) +
geom_errorbar(aes(ymin=lower, ymax=upper), colour="black", width=.2) +
geom_point(size=2, colour="Red")
我像这样控制 x 轴标签:
scale_x_discrete(labels=c("0-29","30-49","50-64","65-79",">80","All")) +
这可行,但我需要将“>80”标签更改为“≥80”。
但是“≥80”显示为“=80”。
如何显示大于或等于号?