- Notifications
You must be signed in to change notification settings - Fork0
block matrix and other fat diagonals
bquast/diagonals
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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 we combine two dimensions of a data set along one edge of a matrix. For example, trade-flow data in thedecompr andgvc package have each country-industry combination occur on each edge of the matrix.
The stable version of thediagonals package can be install fromCRAN using:
install.packages("diagonals")The development version, to be usedat your peril, can be installed using:
if (!require('remotes')) install.packages('remotes')remotes::install_github("bquast/diagonals")
Following installation, the package can be loaded using:
library(diagonals)For general information on using the package, please refer to the help files .
help("diagonals")help(package="diagonals")
For examples of usage, see the function specific help page.
help("fatdiag")In addition to the help files we provide long form examples in thevignettes .
vignette("fatdiag")# orbrowseVignettes("diagonals")
An overview of the changes is available in the NEWS file.
news(package="diagonals")
There is also a blog post with information on mypersonal website.
Development takes place on the GitHub page.
https://github.com/bquast/diagonals
Bugs can be filed on the issues page on GitHub.
About
block matrix and other fat diagonals
Resources
Uh oh!
There was an error while loading.Please reload this page.
