Message-ID: <200304030452.h334qlw02926@punik.econ.au.dk>
Date: 2003-04-03T04:52:47Z
From: Ott Toomet
Subject: Index of item in matrix
In-Reply-To: <3E8B2E49.4040306@acadiau.ca> (message from John Janmaat on Wed, 02 Apr 2003 14:39:05 -0400)
Hi,
| Date: Wed, 02 Apr 2003 14:39:05 -0400
| From: John Janmaat <john.janmaat at acadiau.ca>
| Hello All,
|
| Is there a fast way to find the index(row and column) of a point in a
| matrix?
what do you mean as ,,a point in a matrix''? Perhaps
which( ,arr.ind=T) does what you are looking for.
Best wishes,
Ott