Linear Regression and Logistic Regression using R Studio