[R] product of successive rows

rcoder mpdotbook at gmail.com
Mon Jul 28 00:20:32 CEST 2008


Hi everyone,

I want to perform an operation on a matrx that outputs the product of
successive pairs of rows. For example: calculating the product between rows
1 & 2; 3 & 4; 5 & 6...etc.

Does anyone know of any readily available functions that can do this?

Thanks,

rcoder


-- 
View this message in context: http://www.nabble.com/product-of-successive-rows-tp18681259p18681259.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list