摘要:a<-matrix(1:3,nrow=1)> a [,1] [,2] [,3][1,] 1 2 3> nrow(a)[1] 1 正常定义时一行数据nrow为1 b<-matrix(1:12,nrow=3)> b [,1] [,2] [,3] [,4][1,] 1 4 7 10[2,] 2 5 8 1
阅读全文
posted @ 2017-05-12 14:00
posted @ 2017-05-12 14:00
posted @ 2017-05-12 13:56
posted @ 2017-05-12 13:54
posted @ 2017-05-12 13:50
posted @ 2017-05-12 13:48