[R] comparing two vectors

soham chakraborty soham_r at isical.ac.in
Mon Dec 3 08:01:17 CET 2012


Berend,
  I am working with a time series data.The log-likelihood is to be maximized
for a set of parameters.
Lets say that x1 and x2 are the output from two successive iterations.I am
trying to find out,
    *if(all(abs(x1-x2)<.0001,say))*




--
View this message in context: http://r.789695.n4.nabble.com/comparing-two-vectors-tp4651282p4651760.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list