Displaying 2 results from an estimated 2 matches for "100x3".
Did you mean:
10003
2003 Mar 24
1
how to show a section of a matrix neatly (or row by row) that satisfies some condition
Hi all,
I want to show the rows of a matrix (100x3) of which some of its elements satisfy a certain condition. In particular, how can I display the 2 rows of my matrix one after the
other and not all all elements of column 1 first, then column 2 and so on. See the following.
> finest[finest[,1] > 10^3]
[1] 4.960632e+13 3.612619e+04 7.6682...
2003 Mar 24
0
how to show a section of a matrix neatly (or row by row ) that satisfies some condition
...er
-----Original Message-----
From: Edmond Ng [mailto:Edmond.Ng at lshtm.ac.uk]
Sent: Monday, March 24, 2003 2:40 PM
To: r-help at stat.math.ethz.ch
Subject: [R] how to show a section of a matrix neatly (or row by row) that
satisfies some condition
Hi all,
I want to show the rows of a matrix (100x3) of which some of its elements
satisfy a certain condition. In particular, how can I display the 2 rows of
my matrix one after the
other and not all all elements of column 1 first, then column 2 and so on.
See the following.
> finest[finest[,1] > 10^3]
[1] 4.960632e+13 3.612619e+04 7.6682...