📜  查找 SAS IML 向量的均值 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:00.388000             🧑  作者: Mango

代码示例1
proc iml;
x = {-1 -1,
      0  1,
      1  2,
      1  0,
     -1  0 };
 
rowMeans = x[ ,:];
colMeans = x[:, ];
grandMean= x[:];
print x rowMeans, colMeans grandMean;