diagonals: Block Diagonal Extraction or Replacement

Share:

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.

Author
Bastiaan Quast [aut, cre]
Date of publication
2015-10-05 12:58:14
Maintainer
Bastiaan Quast <bquast@gmail.com>
License
GPL-3
Version
0.4.0
URLs

View on CRAN

Man pages

diagonals
diagonals
fatdiag
Fat Matrix Diagonals
matricise
Matricise
split_vector
Split Vector

Files in this package

diagonals
diagonals/inst
diagonals/inst/CITATION
diagonals/inst/doc
diagonals/inst/doc/fatdiag.html
diagonals/inst/doc/fatdiag.Rmd
diagonals/inst/doc/fatdiag.R
diagonals/tests
diagonals/tests/testthat.R
diagonals/tests/testthat
diagonals/tests/testthat/test_fatdiag.R
diagonals/NAMESPACE
diagonals/NEWS
diagonals/R
diagonals/R/split_vector.R
diagonals/R/diagonals.R
diagonals/R/matricise.R
diagonals/R/fatdiag.R
diagonals/vignettes
diagonals/vignettes/fatdiag.Rmd
diagonals/README.md
diagonals/MD5
diagonals/build
diagonals/build/vignette.rds
diagonals/DESCRIPTION
diagonals/man
diagonals/man/split_vector.Rd
diagonals/man/matricise.Rd
diagonals/man/fatdiag.Rd
diagonals/man/diagonals.Rd