| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | find row&col |
| From: | Catalina Mesina <cmesina@cs.vu.nl> |
| Date: | Wed, 23 Oct 2002 14:46:33 +0200 |
Dear all,
I have a very simple question.
Suppose that we have a matrix
m<-matrix(1:12,ncol=3)
> m
[,1] [,2] [,3]
[1,] 1 5 9
[2,] 2 6 10
[3,] 3 7 11
[4,] 4 8 12
Is there any function in Splus that can give me which is the line and the
column where element 10, for example, is situated?
Catalina
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [R] Draw ellipses in S-PLUS or R?, Martin Maechler |
|---|---|
| Next by Date: | Re: function question, Lucke, Joseph F |
| Previous by Thread: | not constant predictor in lme part 2, Bernd Puschner |
| Next by Thread: | Re: find row&col, John Fox |
| Indexes: | [Date] [Thread] [Top] [All Lists] |