Actual vs Predicted data linear model

I want to make a linear model about my actual data vs predicted data. I only able to create a logY vs logX, but couldn't find any functions or code that create actual vs predicted. I found there are codes for that in Python or other software, any suggestion for RStudio?

Have you looked at the broom package The augment function might be what you're looking for.

1 Like

Understand how to do linear models lm

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.