R中的diag()相反?

时间:2017-11-07 22:38:27

标签: r function matrix

假设下面有2 x 2矩阵<div class="root"> <div class="analysisPanel"> <div class="titleBarCtr"> <h3 class="titleBar truncatedText"> Testing a long string that should be truncated </h3> <a class="icon" aria-current="false" role="button" href="#"><i class="fa fa-dashboard" aria-hidden="true" title="Load Estimation"></i></a> </div> </div> </div>,我想知道是否有任何R基函数可以给我相反的对角线元素(这里m2)?< / p>

195

0 个答案:

没有答案