We will add a smooth line to the scatter plot (LOESS is the default) with geom_smooth() . ggplot(stock_prices,aes(x=AAPL,y=GOOGL))+ geom_point()+ geom_smooth().
確定! 回上一頁