I am currently working on simple linear regression and I want to plot the Null hypothesis using R in a plot of dependent and independent variable which is a horizontal line at mean of dependent variable. Please help me to plot this.

I am currently working on simple linear regression and I want to plot the Null hypothesis using R in a plot of dependent and independent variable which is a horizontal line at mean of dependent variable. Please help me to plot this.