| diagrs | R Documentation |
Diagonalizes the sums of each row of a matrix.
diagrs(df)
df |
A matrix with named rows and columns. |
A diagonal matrix with the sums of rows in the diagonal.
wio <- make_wio("wiodtest")
diagrs(wio$Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.