Line of best fit

Here's an article that should help: Multiple Regression Analysis in R - First Steps by Felipe Rego

For future reference, it's easier to help you with this kind of problem if you include a small sample of your code to illustrate what you're talking about.

For pointers specific to the community site, check out the reprex FAQ.

1 Like