[R] mle from stats4

2009-10-06 Thread Stephen Collins
I am using mle as a wrapper from optim( ). How would I extract the convergence code, to know that optim( ) converged properly? Thanks, Stephen Collins, MPP | Analyst Global Strategy | Aon Benfield [[alternative HTML version deleted]] __

Re: [R] mle from stats4

2009-10-06 Thread Peter Dalgaard
Stephen Collins wrote: I am using mle as a wrapper from optim( ). How would I extract the convergence code, to know that optim( ) converged properly? The return value from optim is contained in the details slot, so f...@details$convergence [1] 0 -- O__ Peter Dalgaard

Re: [R] mle from stats4

2009-10-06 Thread Ben Bolker
Stephen Collins-6 wrote: I am using mle as a wrapper from optim( ). How would I extract the convergence code, to know that optim( ) converged properly? library(stats4) example(mle) slotNames(fit1) f...@details f...@details$convergence -- View this message in context: