在 ggplot2 系統中繪製折線圖的方式跟散佈圖差不多,只是將 geom_plot 換成 geom_line 而已: ggplot(my.df, aes(x = x, y = y1)) + geom_line().
確定! 回上一頁