could I please get help with a problem I am having trying to do a linear regression?

Hi @JamesVU2000: You should post a separate question since this is unrelated to your original question, and you should include 1) the data you're using, 2) the code and packages you're using, and 3) the error messages you're getting. The best way to do this is to follow this guide: FAQ: How to do a minimal reproducible example ( reprex ) for beginners.