阅读背景:

如何将矩阵的子集划分为一列,维护矩阵数据类型,保持行/列名?

来源:互联网 

When I subset a matrix to a single column, the result is of class numeric, not matrix (i.e. myMatrix[ , 5 ] to subset to the fifth column). Is there a compact way to subset to a single column, maintain the matrix format, and maintain the row/column names without doing something complicated like:When I subset a matrix to a single column, the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: