Can R Create a plot like this? : <p>The plot below (taken from a e-text book on statistics) shows some hypothetical data for TV advertising dollars and associated sales. A line is fitted for the data and then the error of each data point is shown. Is there a pre-created plot like this that exists either using the native plot() function or ggplot2?</p>

<p><a href="https://i.stack.imgur.com/9NLgs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9NLgs.png" alt="enter image description here"></a></p>
