'Unexpected error - regression model using glm
I am trying to do a regression using glm but it is coming with an unexpected error Here is the code:
mod1 <- glm(N_agreements ~ Population + PublicStaff + Macrorregion + Direct Plan, data = ILC, family = binomial)
summary(mod1)
the message:
Error: unexpected symbol in "mod1 <- glm(Education ~ Population + PublicStaff + Macrorregion + Direct Plan"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|