disordR: Non-Ordered Vectors

Functionality for manipulating values of associative maps. Ordinary R vectors are unsuitable for working with values of associative maps because elements of an R vector may be accessed by reference to their location in the vector, but associative maps are stored in arbitrary order. However, when associating keys with values one needs both parts to be in 1-1 correspondence, so one cannot dispense with the order entirely. The 'disordR' package includes a single S4 class, disord. This class allows one to perform only those operations appropriate for manipulating values of associative maps and prevents any other operation (such as accessing an element at a particular location). A useful heuristic is that one is only allowed to access or modify a disord object using a python list comprehension. The idea is to prevent ill-defined operations on values (or keys) of associative maps, whose order is undefined or at best implementation-specific, while allowing and facilitating sensible operations. To cite the package in publications please use Hankin (2022) <doi:10.48550/ARXIV.2210.03856>.

Version: 0.0-9-4
Depends: methods, Matrix (≥ 1.3-3)
Imports: digest
Suggests: mvp, knitr, rmarkdown, testthat
Published: 2022-12-10
Author: Robin K. S. Hankin ORCID iD [aut, cre]
Maintainer: Robin K. S. Hankin <hankin.robin at gmail.com>
BugReports: https://github.com/RobinHankin/disordR/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/RobinHankin/disordR
NeedsCompilation: no
Citation: disordR citation info
Materials: README NEWS
CRAN checks: disordR results


Reference manual: disordR.pdf
Vignettes: disordR_mvp


Package source: disordR_0.0-9-4.tar.gz
Windows binaries: r-devel: disordR_0.0-9-4.zip, r-release: disordR_0.0-9-4.zip, r-oldrel: disordR_0.0-9-4.zip
macOS binaries: r-release (arm64): disordR_0.0-9-4.tgz, r-oldrel (arm64): disordR_0.0-9-4.tgz, r-release (x86_64): disordR_0.0-9-4.tgz, r-oldrel (x86_64): disordR_0.0-9-4.tgz
Old sources: disordR archive

Reverse dependencies:

Reverse imports: clifford, freealg, hyper2, mvp, spray, stokes, weyl


Please use the canonical form https://CRAN.R-project.org/package=disordR to link to this page.