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.
| Version: | 6.4.0 | 
| Depends: | R (≥ 2.10) | 
| Suggests: | testthat, knitr, rmarkdown | 
| Published: | 2022-06-19 | 
| DOI: | 10.32614/CRAN.package.diagonals | 
| Author: | Bastiaan Quast | 
| Maintainer: | Bastiaan Quast <bquast at gmail.com> | 
| BugReports: | https://github.com/bquast/diagonals/issues | 
| License: | GPL-3 | 
| URL: | https://qua.st/diagonals, https://github.com/bquast/diagonals | 
| NeedsCompilation: | no | 
| Citation: | diagonals citation info | 
| Materials: | README, NEWS | 
| CRAN checks: | diagonals results | 
| Reference manual: | diagonals.html , diagonals.pdf | 
| Vignettes: | Fat Diagonals (source, R code) | 
| Package source: | diagonals_6.4.0.tar.gz | 
| Windows binaries: | r-devel: diagonals_6.4.0.zip, r-release: diagonals_6.4.0.zip, r-oldrel: diagonals_6.4.0.zip | 
| macOS binaries: | r-release (arm64): diagonals_6.4.0.tgz, r-oldrel (arm64): diagonals_6.4.0.tgz, r-release (x86_64): diagonals_6.4.0.tgz, r-oldrel (x86_64): diagonals_6.4.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.