type
type=c("link","response","class"). Default is "class";Type of prediction required. Type "link" gives the linear predictors; Type "response" gives the fitted probabilities; Type "class" produces the class label corresponding to the maximum probability.