in this case I don't know how to
put M as another argument for the function.
Thank you very much for your help,
Cheers,
Sunelav.
To make things clearer; this is the loop I would like to eliminate
# the function
f=function(M,p1,p2,p3) # A matrix and 3 numeric parameters
{
return(SM) } #
for loops, which I guess is what you
call "vectorisation". However I have no idea about what you mean by the
"proper use of indexing". Could you please give me more details about that ?
Thanks again for your response,
Sunelav
--
View this message in context:
http://r.
2 matches
Mail list logo