bbslover wrote: > > thanks for your help. I am sorry I do not full understand your code, so i > can not correct using your code to my data. here is the attachment of my > data, and what I want to compute is the equation in the word document of > the attachment: > > the code form Berend can get the answer i want to get. >
I've seen what you want to do. OpenOffice mangled the equations so I used an online conversion to pdf. Thanks. See my previous post for the fastest version. It's just converting your formulas with some matrix algebra. Berend -- View this message in context: http://r.789695.n4.nabble.com/how-to-replace-my-double-for-loop-which-is-little-efficient-tp3164222p3164767.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.