我有这个:
> str(pa1)
num [1:83, 1:9] -1.46 -2.28 -3.69 -4.98 -5 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:83] "1" "2" "3" "4" ...
..$ : chr [1:9] "PC1" "PC2" "PC3" "PC4" ...
如何访问pa1
上面显示的最后一部分,即
"PC1" "PC2" "PC3" "PC4" ...
?
我有这个:
> str(pa1)
num [1:83, 1:9] -1.46 -2.28 -3.69 -4.98 -5 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:83] "1" "2" "3" "4" ...
..$ : chr [1:9] "PC1" "PC2" "PC3" "PC4" ...
如何访问pa1
上面显示的最后一部分,即
"PC1" "PC2" "PC3" "PC4" ...
?