Other packages > Find by keyword >

diagonals  

Block Diagonal Extraction or Replacement
View on CRAN: Click here


Download and install diagonals package within the R console
Install from CRAN:
install.packages("diagonals")

Install from Github:
library("remotes")
install_github("cran/diagonals")

Install by package version:
library("remotes")
install_version("diagonals", "6.4.0")



Attach the package and use:
library("diagonals")
Maintained by
Bastiaan Quast
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2015-05-29
Latest Update: 2022-06-19
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.
How to cite:
Bastiaan Quast (2015). diagonals: Block Diagonal Extraction or Replacement. R package version 6.4.0, https://cran.r-project.org/web/packages/diagonals. Accessed 11 Jun. 2026.
Previous versions and publish date:
0.2.0 (2015-05-29 18:22), 0.3.0 (2015-06-15 16:26), 0.4.0 (2015-10-05 12:58), 1.0.1 (2020-01-09 00:01), 5.2.0 (2020-04-28 08:40), 6.0.0 (2021-05-08 18:20)
Other packages that cited diagonals R package
View diagonals citation profile
Other R packages that diagonals depends, imports, suggests or enhances
Complete documentation for diagonals
Functions, R codes and Examples using the diagonals R package
Some associated functions: diagonals . fatdiag . split_vector . 
Some associated R codes: diagonals.R . fatdiag.R . split_vector.R .  Full diagonals package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

Voss  
Generic Voss Algorithm (Random Sequential Additions)
Generating realizations of a fractal Brownian function on uniform 1D & 2D grid with classic and ...
Download / Learn more Package Citations See dependency  
hsphase  
Phasing, Pedigree Reconstruction, Sire Imputation and Recombination Events Identification of Half-sib Families Using SNP Data
Identification of recombination events, haplotype reconstruction, sire imputation and pedigree recon ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
clusrank  
Wilcoxon Rank Tests for Clustered Data
Non-parametric tests (Wilcoxon rank sum test and Wilcoxon signed rank test) for clustered data docu ...
Download / Learn more Package Citations See dependency  
leontief  
Input-Output Analysis
An implementation of the Input-Output model developed by Wassily Leontief that represents the inter ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA