我有这个ggplot:
ggplot(dt.m, aes(x=pct.on.OAC.cont,y=Number.of.Practices, fill=Age.Group)) +
geom_bar(stat="identity",position=position_dodge()) +
geom_smooth(aes(x=pct.on.OAC.cont,y=Number.of.Practices, colour=Age.Group), se=F)如何增加geom_smooth绘制的线条的粗细?
发布于 2012-10-05 21:03:54
执行size参数执行您想要的操作:
+ geom_smooth(aes(x=pct.on.OAC.cont, y=Number.of.Practices, colour=Age.Group),
se=F, size=10)或者,您可以将size更改为lwd,但使用size是标准做法。
https://stackoverflow.com/questions/12746667
复制相似问题