[Rd] how to extract the column name or value from the numerical value of the matrix

shanmuha boopathy tts_boopathy at yahoo.com
Mon Sep 19 21:30:10 CEST 2005


Dear sir,
 i have a matrix like
 x<-c(1:20)
A<-matrix(x,4,5)
> A
     [,1] [,2] [,3] [,4] [,5]
[1,]    1    5    9   13   17
[2,]    2    6   10   14   18
[3,]    3    7   11   15   19
[4,]    4    8   12   16   20

I want to extract the column value for the matrix
value 11...

or the row value for 14..
how it is possible?

thanks for your help....

with regards,
boopathy.

Thirumalai Shanmuha Boopathy, 
Zimmer no : 07-15,
Rütscher strasse 165, 
52072  Aachen . 
Germany.
 
Home zone   :  0049 - 241 - 9813409
Mobile zone :  0049 - 176 - 23567867



More information about the R-devel mailing list