bquast/diagonals: Block Diagonal Extraction or Replacement

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.

Getting started

Package details

Maintainer
LicenseGPL-3
Version6.4.0
URL https://qua.st/diagonals https://github.com/bquast/diagonals
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("bquast/diagonals")
bquast/diagonals documentation built on June 26, 2022, 2:08 a.m.