Search google about regression models and then See what are the difference between linear and logistic regression models and the functions used for these models in R.
Install.packages("lrm)
For Linear Regression Use Age as Class
lm()
For logistic regression Use Paid Course after converting it into 0 and 1.
Search google about regression models and then See what are the difference between linear and logistic regression models and the functions used for these models in R.
Install.packages("lrm)
For Linear Regression Use Age as Class lm()
For logistic regression Use Paid Course after converting it into 0 and 1.
glm()