issue with NAs in lrEM convergence
sawezo opened this issue · 0 comments
sawezo commented
Hello! I come from a python background, thus this issue has been tough to parse for me:
happens when checking convergence on line 225 (lrEM):
if ((max(c(Mdif,Cdif)) < tolerance) | (niters == max.iter)) iter_again <- 0
from picking it apart, I have NA in my M and C, which cause Mdif and Cdif to == NA as well...
issue is: "Error in if ((max(c(Mdif, Cdif)) < tolerance) | (niters == max.iter)) iter_again <- 0: missing value where TRUE/FALSE needed"
thank you for any help!