上次我們看過了散佈圖(geom_point),在ggplot2中,其實有很多不同的geoms,像是長條 ... ggplot(data=mpg)+ geom_smooth(mapping=aes(x=displ,y=hwy,linetype=drv)).
確定! 回上一頁