Subsetting a matrix by row names and column names in R

前端 未结 0 1820
情话喂你
情话喂你 2021-01-25 15:56

I have a symmetric matrix that looks like this (this is a relationship matrix between 6 animals):

     AN1   AN2   AN3   AN4   AN5   AN6
AN1   1    0.5    0   0.2         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题