wegene-llc / radmixture

an R package for ancestry analysis
https://CRAN.R-project.org/package=radmixture
Other
37 stars 20 forks source link

EM algorithm bug #9

Open esb5324 opened 3 years ago

esb5324 commented 3 years ago

Hello,

In the em() function code, I believe that (abs(loglikem[iter] - loglikem[iter - 1] < tol)) should be (abs(loglikem[iter] - loglikem[iter - 1]) < tol) to produce TRUE/FALSE as intended.