R !!!ggplot2 !基本:グラフの部品を重ねていく *ggplot(データ) **aes でグラフの要素の指定 *geom_point で散布図 *geom_smooth で回帰線 *theme で見た目の設定 ggplot(data, aes(x=x軸, y=y軸)) + geom_point() + geom_smooth()+ theme_bw()