Re: [R] R - MATLAB apply like function

2009-03-04 Thread Hans W. Borchers
ARDIA David unifr.ch> writes: > > Dear all, > I very often use the R function "apply", for speedup purposes. I am now also > using MATLAB, and would like to use the same kind of function. > I have already asked MATLAB people, and the answer is : "vectorize"... but of > course, this is not alwa

Re: [R] R - MATLAB apply like function

2009-03-03 Thread stephen sefick
how 'bout an example. On Tue, Mar 3, 2009 at 6:20 AM, ARDIA David wrote: > Dear all, > I very often use the R function "apply", for speedup purposes. I am now also > using MATLAB, and would like to use the same kind of function. > I have already asked MATLAB people, and the answer is : "vectoriz

[R] R - MATLAB apply like function

2009-03-03 Thread ARDIA David
Dear all, I very often use the R function "apply", for speedup purposes. I am now also using MATLAB, and would like to use the same kind of function. I have already asked MATLAB people, and the answer is : "vectorize"... but of course, this is not always possible. So, instead of using a FOR loop