I have this 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)
How can I increase the thickness of the lines drawn by geom_smooth ?
Do the size
argument do what you want:
+ geom_smooth(aes(x=pct.on.OAC.cont, y=Number.of.Practices, colour=Age.Group),
se=F, size=10)
alternatively, you could change size
to lwd
, but it is standard to use size
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.