survtmle icon indicating copy to clipboard operation
survtmle copied to clipboard

Return maxIter in output object

Open RobinDenz1 opened this issue 4 years ago • 2 comments

It would be nice to see how many iterations the algorithm needed to converge. Could you maybe add this information to the output object? Thank you in advance.

RobinDenz1 avatar Nov 16 '20 15:11 RobinDenz1

I assume you mean for situations when method = "hazard"? And I guess you'd want the actual number of iterations taken (which could be less than maxIter)?

benkeser avatar Nov 16 '20 16:11 benkeser

I am sorry for my vague formulation. Yes that is both exactly what I wanted to say.

RobinDenz1 avatar Nov 16 '20 17:11 RobinDenz1