Add line to scatter plot. Overlay the least squares regression line onto the plot (Figure 17.1-4) using geom_smooth() . ggplot(lion, aes(proportionBlack, ...
確定! 回上一頁