将残差标准偏差线添加到线性回归模型

时间:2021-03-25 10:31:58

标签: r ggplot2 linear-regression

我为我的数据创建了一个线性回归模型,一切顺利。我能够创建一个 ggplot 图。但是,我找不到将表示残差 +/- 标准偏差的线添加到我的线性回归线的方法。

我目前的剧情: My current plot

我需要实现的所需情节: The desired plot that I need to achieve

非常感谢

0 个答案:

没有答案