search for: matrix_row

Displaying 1 result from an estimated 1 matches for "matrix_row".

Did you mean: matrix_ret
2012 Aug 08
3
Outer product from matrix by row and a vector
Dear all, I am facing a challenge when applying the outer product with a matrix by rows. What I have is a rather big matrix, which I would like to convert into a different matrix by doing something like outer(matrix_row, vector, function(x,y) x[1]+5*x[4]/y) In order to get there, I tried to get the matrix into a list using the mefa package, as subsetting the original data appears too complicated. However, if I apply the following code I always get a dimensional error, as the unlist() function is applied to the wh...