我有这个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)
Run Code Online (Sandbox Code Playgroud)
如何增加geom_smooth绘制的线条的粗细?
csg*_*pie 16
执行size参数做你想要什么:
+ geom_smooth(aes(x=pct.on.OAC.cont, y=Number.of.Practices, colour=Age.Group),
se=F, size=10)
Run Code Online (Sandbox Code Playgroud)
或者,您可以更改size为lwd,但它是标准使用size.
| 归档时间: |
|
| 查看次数: |
16805 次 |
| 最近记录: |