What is the difference between type=\"class\" and type=\"response\" in the predict function?
type=\"class\"
type=\"response\"
predict
For instance between:
type = "response" is used in glm models and type = "class" is used in rpart models(CART). See:
type = "response"
type = "class"