Re: [R] Vectorization Problem

2008-03-22 Thread David Winsemius
"Sergey Goriatchev" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I have the code for the bivariate Gaussian copula. It is written > with for-loops, it works, but I wonder if there is a way to > vectorize the function. > I don't see how outer() can be used in this case, but maybe one can

[R] Vectorization Problem

2008-03-22 Thread Sergey Goriatchev
I have the code for the bivariate Gaussian copula. It is written with for-loops, it works, but I wonder if there is a way to vectorize the function. I don't see how outer() can be used in this case, but maybe one can use mapply() or Vectorize() in some way? Could anyone help me, please? ## Density