Hello, I am performing Newton Raphson iteration where the parameter vector which I want to optimize is an *nx1* vector. I am running a while loop which will continue unless a stopping condition is satisfied Now, the stopping condition will have to be such that the parameter vector after two successive iterations are very close to each other,*component wise*. I have tried the* all* function, in which case the number of iterations are enormous. Is there any better way to do this?
Thanking all in advance, Soham Chakraborty -- View this message in context: http://r.789695.n4.nabble.com/comparing-two-vectors-tp4651282.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

