[R] Haplo.glm error: Failed to converge during EM-glm loop
黄桦
huangh237 at mail2.sysu.edu.cn
Mon Jun 13 17:22:50 CEST 2016
Hi all,
I used R package "haplo.stats" to see if the haplotype in my data has any effect on the trait, with the genotype, age, height and
weight as the predictor and trait as the response. I used the following code:
fit.gaus <- haplo.glm(y ~ age + height + weight + geno.glm, family=gaussian, data=glm.data, na.action="na.geno.keep", x=TRUE, control=haplo.glm.control(haplo.freq.min=.02))
But R showed me this error:
Warning message:
In haplo.glm(y ~ age + height + weight + geno.glm, family = gaussian, :
Failed to converge during EM-glm loop
What does it mean that failed to converge during EM-glm loop? I wonder if there is anything wrong with my command?
Thank you for your attention, I am looking forward to your reply.
Best.
Hua
[[alternative HTML version deleted]]
More information about the R-help
mailing list