[R] how to replace my double for loop which is little efficient!

Berend Hasselman bhh at xs4all.nl
Mon Dec 27 09:05:32 CET 2010



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.



More information about the R-help mailing list