Regression Analysis Using R Studio: Theoretical Foundations and Practical