Several tools for handling blockmatrix diagonals and similar constructs are implemented. Blockdiagonal matrices can be extracted or removed using two small functions implemented here. In addition, nonsquare matrices are supported. Block diagonal matrices occur when two dimensions of a data set are combined along one edge of a matrix. For example, tradeflow data in the 'decompr' and 'gvc' packages have each countryindustry combination occur along both edges of the matrix.
Package details 


Maintainer  
License  GPL3 
Version  0.4.0.9000 
URL  http://qua.st/diagonals https://github.com/bquast/diagonals 
Package repository  View on GitHub 
Installation 
Install the latest version of this package by entering the following in R:

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.