Hi all,
I am trying to multiply each column of a matrix such to have a unique resulting vector with length equal to the number of rows of the original matrix. In short I would like to do what prod(.) function in Matlab does, i.e.

A <-matrix(c(1:10),5,2)

V = A[,1]*A[,2]

Thank you

Graziano



	[[alternative HTML version deleted]]

