hapglm<-haplo.glm(y~ geno.glm, family=gaussian, data=mydata,control=haplo.glm.control(haplo.freq.min=0.05), locus.label = snps, allele.lev =attributes(geno.glm)$unique.alleles)
其中的报错。
Error: NA/NaN/Inf in foreign function call (arg 1)
本人是R的初学者,却要读懂并调试个超级难读的程序,希望各位积极帮忙解答。