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.
|Depends:||R (≥ 2.10)|
|Suggests:||testthat, knitr, rmarkdown|
|Author:||Bastiaan Quast [aut, cre]|
|Maintainer:||Bastiaan Quast <bquast at gmail.com>|
|Citation:||diagonals citation info|
|CRAN checks:||diagonals results|
|Windows binaries:||r-devel: diagonals_6.0.0.zip, r-release: diagonals_6.0.0.zip, r-oldrel: diagonals_6.0.0.zip|
|macOS binaries:||r-release (arm64): diagonals_6.0.0.tgz, r-release (x86_64): diagonals_6.0.0.tgz, r-oldrel: diagonals_6.0.0.tgz|
|Old sources:||diagonals archive|
|Reverse imports:||gvc, HLMdiag, PDMIF|
Please use the canonical form https://CRAN.R-project.org/package=diagonals to link to this page.