type
the type of prediction required. The default is on the scale of the linear predictors; the alternative "response"
is on the scale of the response variable. Thus for a binomial model the default predictions are of log-odds (probabilities on logit scale) and type = "response"
gives the predicted probabilities