Dear Sereina,

The number of iterations is not output by default. You can modify the function with fix(compar.gee), find this line:

    geemod <- do.call("gee", list(formula, ....

and insert this command after it:

    cat("number of iterations:", geemod$iterations, "\n")

save and close.

HTH

Best,

Emmanuel

Le 12/08/2014 10:57, Sereina Graber a écrit :
Dear list members,
I have a question concerning the compar.gee function in ape. Often, the
models don`t converge, and now I would like to safe whether a model
converged or not. Is there a way to somehow get the number of iterations
reached the max number, or is there something like a convergence
attribute which tells you whether the model converged or not? I couldn`t
find anything when looking at the attributes of the model output.
Thank you & best wishes,
Sereina


_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/


_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Reply via email to