Correct Answer : Glm()
Explanation : Glm() in R language provides this functionality. Logistic regression is a statistical method for analysing a dataset in which there are one or more independent variables that determine an outcome.