extraoperators: Extra Binary Relational and Logical Operators

Speed up common tasks, particularly logical or relational comparisons and routine follow up tasks such as finding the indices and subsetting. Inspired by mathematics, where something like: 3 < x < 6 is a standard, elegant and clear way to assert that x is both greater than 3 and less than 6 (see for example <https://en.wikipedia.org/wiki/Relational_operator>), a chaining operator is implemented. The chaining operator, %c%, allows multiple relational operations to be used in quotes on the right hand side for the same object, on the left hand side. The %e% operator allows something like set-builder notation (see for example <https://en.wikipedia.org/wiki/Set-builder_notation>) to be used on the right hand side. All operators have built in prefixes defined for all, subset, and which to reduce the amount of code needed for common tasks, such as return those values that are true.

Version: 0.3.0
Suggests: testthat (≥ 3.0.0), covr, knitr, rmarkdown
Published: 2023-12-14
DOI: 10.32614/CRAN.package.extraoperators
Author: Joshua F. Wiley ORCID iD [aut, cre]
Maintainer: Joshua F. Wiley <jwiley.psych at gmail.com>
BugReports: https://github.com/JWiley/extraoperators/issues
License: GPL-3
URL: https://joshuawiley.com/extraoperators/, https://github.com/JWiley/extraoperators
NeedsCompilation: no
Materials: README NEWS
CRAN checks: extraoperators results

Documentation:

Reference manual: extraoperators.pdf
Vignettes: logicals-vignette

Downloads:

Package source: extraoperators_0.3.0.tar.gz
Windows binaries: r-devel: extraoperators_0.3.0.zip, r-release: extraoperators_0.3.0.zip, r-oldrel: extraoperators_0.3.0.zip
macOS binaries: r-release (arm64): extraoperators_0.3.0.tgz, r-oldrel (arm64): extraoperators_0.3.0.tgz, r-release (x86_64): extraoperators_0.3.0.tgz, r-oldrel (x86_64): extraoperators_0.3.0.tgz
Old sources: extraoperators archive

Reverse dependencies:

Reverse imports: brmsmargins, JWileymisc, multilevelcoda, multilevelTools

Linking:

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