HELP GLM
After scrupulous textual analysis, I conclude that you have at least one NA/NaN/Inf in b$induction. There is also a hint that you should acquaint yourself with family="binomial". Sherlock On Tue, Jan 31, 2017 at 11:18 AM, CHIRIBOGA Xavier
<xavier.chiriboga at unine.ch> wrote:
Dear colleagues,
I am trying to perform GLM but I got the following message.
m2<-glm(induction~time+plant,data=b)
Error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, :
NA/NaN/Inf in 'y'
Adem?s: Warning messages:
1: In Ops.factor(y, mu) : '-' not meaningful for factors
2: In Ops.factor(eta, offset) : '-' not meaningful for factors
3: In Ops.factor(y, mu) : '-' not meaningful for factors
Do you know why it is not working?
Thank you for your help,
Xavier
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.