[R] Help on apply() function

DEVAN a_devan at hotmail.com
Wed Aug 30 02:18:28 CEST 2006


Respected Sir/Madam,

I have a problem with apply function. I have to two matrices of dimension of
one column but n rows. I have to check whether one matrix is greater than
other by going thru each row (ie) using if condition to check one matrix
with another matrix. 

I like to use apply() function to this approach. That is apply function
between two matrices. I searched for examples online but I couldn't find
any.

I don't know how to loop thru the matrices.

Please help with this problem.

Any help is appreciated.

My mailid is monkponu at yahoo.com.

Thanks,
Anusha.



More information about the R-help mailing list