Zhongming, Zhongming Yang wrote:
R experts:Is there any vectorized logical comparison in R? For instance I want stop some iterartion process until the every component of the error vector all small than 1%.
If eps is your vector of errors, use: all(eps < 0.01) or all(abs(eps) < 0.01) Regards, Sundar ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
