-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75481f0
commit 61ba159
Showing
19 changed files
with
421 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
Package: diagonals | ||
Title: Block Diagonal Extraction or Replacement | ||
Version: 0.4.0 | ||
Version: 1.0.1 | ||
Authors@R: person("Bastiaan", "Quast", email = "bquast@gmail.com", role = c("aut", "cre")) | ||
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. | ||
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. | ||
Depends: R (>= 2.10) | ||
License: GPL-3 | ||
LazyData: true | ||
URL: http://qua.st/diagonals, https://github.com/bquast/diagonals | ||
URL: https://qua.st/diagonals, https://github.com/bquast/diagonals | ||
BugReports: https://github.com/bquast/diagonals/issues | ||
Suggests: testthat, knitr | ||
VignetteBuilder: knitr | ||
RoxygenNote: 7.0.2 | ||
Encoding: UTF-8 | ||
NeedsCompilation: no | ||
Packaged: 2015-10-05 09:48:02 UTC; quast | ||
Packaged: 2020-01-07 13:42:22 UTC; bquast | ||
Author: Bastiaan Quast [aut, cre] | ||
Maintainer: Bastiaan Quast <bquast@gmail.com> | ||
Repository: CRAN | ||
Date/Publication: 2015-10-05 12:58:14 | ||
Date/Publication: 2020-01-08 23:01:42 UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
4f2e1bb438b4a47b611cba8b8c7fa6e2 *DESCRIPTION | ||
8978180e2735e69064cef803abafe717 *NAMESPACE | ||
2ed492dd4faec5c6788023dbb74a99fa *NEWS | ||
02cff18352477edf52936f5595e13a1c *R/diagonals.R | ||
71bfbf782fca6d1eb1986530a5f19cc7 *DESCRIPTION | ||
e12c49c471a5852114b53c9169f1f30a *NAMESPACE | ||
515ce1d07693431905c45d020eb22d48 *NEWS | ||
11eaf5932a87ffa9c9c49e8c73cdec7f *R/diagonals.R | ||
4377a30de60cad31bfb694ae662cec8f *R/fatdiag.R | ||
298c36468bfb2d9975a29144beef49a2 *R/matricise.R | ||
2691863cc52ccddc31bd1827f4d36316 *R/split_vector.R | ||
2e893a67e041f980be9686901d7705c2 *README.md | ||
de11144bf9e5ebbd75ece150afed8766 *build/vignette.rds | ||
4e99bddbbc63d85e65c0962fc8ec4340 *README.md | ||
655924b11f200da666bdeff003ad43e6 *build/vignette.rds | ||
33f6179f4338f18d0cf1e5835082901e *inst/CITATION | ||
45fdf83e44b249d29b6b7b9692f26615 *inst/doc/fatdiag.R | ||
e23972aca3ae53b88b14f101b238abf2 *inst/doc/fatdiag.Rmd | ||
8953ecbcc4cd5fb807db69b3b90aef0c *inst/doc/fatdiag.html | ||
63c593eac8c9f0d5894c21fa56350bdf *man/diagonals.Rd | ||
bd788ef8fb02ae4f78922fd926962b16 *man/fatdiag.Rd | ||
1d283b65348018be7e9a126d40783b95 *man/matricise.Rd | ||
eb40293ad564fe7a042c28c1f5b6a1f2 *man/split_vector.Rd | ||
236806de24350bcca2a94a3068fb0ce7 *inst/doc/fatdiag.R | ||
710a36187a4e814032e9d34b62a84057 *inst/doc/fatdiag.Rmd | ||
db3645f3cc4afd7af37d55f89a26a6d3 *inst/doc/fatdiag.html | ||
12781fa4558571c8ff18ed1e677f7be2 *man/diagonals.Rd | ||
5b352048fd7ac091d17fbc72c9f55a60 *man/fatdiag.Rd | ||
54c7d6835c11c30534f75fd7569cf69e *man/split_vector.Rd | ||
93a1e65fece34405d313bc933811acfa *tests/testthat.R | ||
9232d7b7bb1ed4bdf0cd3afc6e6d24d0 *tests/testthat/test_fatdiag.R | ||
e23972aca3ae53b88b14f101b238abf2 *vignettes/fatdiag.Rmd | ||
33e33c15533a2be2ec02b7b6b4781a1c *tests/testthat/test_fatdiag.R | ||
710a36187a4e814032e9d34b62a84057 *vignettes/fatdiag.Rmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
library(diagonals) | ||
fatdiag(12, steps=3) | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
( m <- matrix(111, nrow=6, ncol=9) ) | ||
fatdiag(m, steps=3) <- 5 | ||
m | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
fatdiag(m, steps=3) | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
fatdiag(12, size=4) | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
fatdiag(12, size=c(3,4) ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.