Dear all,
  I like to extract row names & column names from the named matrix......
   
  like......
   
   a<-matrix(1:6,2)
 ro<-c("aa","bb")
 co<-c("dd","ee","ff")
 dimnames(a)<-list(ro,co)
a
  
 >
    dd ee ff
aa  1  3  5
bb  2  4  6
   
  from the above matrix "a"
  I like to extract
  rownames separately like rownames(a)= (aa,bb)
    column names separately like col names(a)= (dd,ee,ff)
   
  Kindly suggest me some good ways.......

  tha´nk you all
   
  with regards,
  boopathy.




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





                
---------------------------------

 Single? There's someone we'd like you to meet.

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to