I got it right now, It wasn't working because the matrix of predictors had
the same name as the dataset, so I modified the call
creating a dataset with the response and predictors and keeping the
data.frame using the same name

metodocentrod <- data.frame(metodocentro)
resultadocentro <- glm(Ycentro ~ metodocentro-1, family = binomial(link =
"logit"), data=metodocentrod)

Thanks for the help, because of your e-mail I could figure this out.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to