由买买提看人间百态

topics

全部话题 - 话题: rowname2
(共0页)
G***G
发帖数: 16778
1
来自主题: Biology版 - r取出一列,仍保持列名
a data.frame in R like
column1 column2
rowname1 0.1 0.3
rowname2 0.4 0.2
rowname3 0.5 0.1
How can I extract the second column with the rowname remained?
column2
rowname1 0.3
rowname2 0.2
rowname3 0.1
thanks.
(共0页)