An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070704/763858ca/attachment.pl
working with matrix
2 messages · Yemi Oyeyemi, Gábor Csárdi
which.max(apply(mat, 1, prod)) Gabor
On Wed, Jul 04, 2007 at 09:18:41AM -0700, Yemi Oyeyemi wrote:
I am new in R and I want to solve this problem; I have a matrix X (with n-rows and p-colums) my problem is to obtain the products of the vectors of rows and print out only the maximum value and identify the row that gives the maximum value. Thanks Oyeyemi, G.M --------------------------------- Don't pick lemons. [[alternative HTML version deleted]]
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Csardi Gabor <csardi at rmki.kfki.hu> MTA RMKI, ELTE TTK