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.

Install the latest version of this package by entering the following in R:
install.packages("diagonals")
AuthorBastiaan Quast [aut, cre]
Date of publication2015-10-05 12:58:14
MaintainerBastiaan Quast <bquast@gmail.com>
LicenseGPL-3
Version0.4.0
http://qua.st/diagonals
https://github.com/bquast/diagonals

View on CRAN

Files

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.