To plot a line of best fit in R, use the lm() function to fit a linear model to the data, then plot the model using the plot() function. You can also add the
Data science: ggplot and model fitting
How To Add Lines to a Scatter Plot in R #37
How To Plot A Regression Line By Group With Ggplot2?
Chapter 19 Scatterplots and Best Fit Lines - Two Sets
Approximating the Equation of a Line of Best Fit and Making Predictions, Algebra
Best Fit Lines
Regression Analysis: How Do I Interpret R-squared and Assess the Goodness-of-Fit?
Why excel Is A Good Software Tool To Create A Line Of Best Fit?
Line of Best Fit: What it is, How to Find it - Statistics How To
plot - R draw (abline + lm) line-of-best-fit through arbitrary point - Stack Overflow