Package: diagonals Title: Block Diagonal Extraction or Replacement Version: 6.4.0 Authors@R: person("Bastiaan", "Quast", email = "bquast@gmail.com", role = c("aut", "cre"), comment=c(ORCID="0000-0002-2951-3577")) Description: 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) License: GPL-3 URL: https://qua.st/diagonals, https://github.com/bquast/diagonals BugReports: https://github.com/bquast/diagonals/issues Suggests: testthat, knitr, rmarkdown VignetteBuilder: knitr RoxygenNote: 7.1.1 Encoding: UTF-8 Repository: https://bquast.r-universe.dev Date/Publication: 2022-06-19 18:17:27 UTC RemoteUrl: https://github.com/bquast/diagonals RemoteRef: HEAD RemoteSha: ec7f3cd35b53123443fe3235592b2f7d511648a5 NeedsCompilation: no Packaged: 2026-10-14 08:37:40 UTC; root Author: Bastiaan Quast [aut, cre] (ORCID: ) Maintainer: Bastiaan Quast