diagonals: Block Diagonal Extraction or Replacement
Version 0.4.0

Several tools for handling block-matrix diagonals and similar constructs are implemented. Block-diagonal matrices can be extracted or removed using two small functions implemented here. In addition, non-square matrices are supported. Block diagonal matrices occur when two dimensions of a data set are combined along one edge of a matrix. For example, trade-flow data in the 'decompr' and 'gvc' packages have each country-industry combination occur along both edges of the matrix.

Package details

AuthorBastiaan Quast [aut, cre]
Date of publication2015-10-05 12:58:14
MaintainerBastiaan Quast <bquast@gmail.com>
URL http://qua.st/diagonals https://github.com/bquast/diagonals
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the diagonals package in your browser

Any scripts or data that you put into this service are public.

diagonals documentation built on May 29, 2017, 11:47 p.m.