Package: bsearchtools 0.0.61

bsearchtools: Binary Search Tools

Exposes the binary search functions of the C++ standard library (std::lower_bound, std::upper_bound) plus other convenience functions, allowing faster lookups on sorted vectors.

Authors:Marco Giuliano

bsearchtools_0.0.61.tar.gz
bsearchtools_0.0.61.zip(r-4.5)bsearchtools_0.0.61.zip(r-4.4)bsearchtools_0.0.61.zip(r-4.3)
bsearchtools_0.0.61.tgz(r-4.4-x86_64)bsearchtools_0.0.61.tgz(r-4.4-arm64)bsearchtools_0.0.61.tgz(r-4.3-x86_64)bsearchtools_0.0.61.tgz(r-4.3-arm64)
bsearchtools_0.0.61.tar.gz(r-4.5-noble)bsearchtools_0.0.61.tar.gz(r-4.4-noble)
bsearchtools_0.0.61.tgz(r-4.4-emscripten)bsearchtools_0.0.61.tgz(r-4.3-emscripten)
bsearchtools.pdf |bsearchtools.html
bsearchtools/json (API)
NEWS

# Install 'bsearchtools' in R:
install.packages('bsearchtools', repos = c('https://digemall.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/digemall/bsearchtools/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

2.88 score 15 scripts 562 downloads 42 exports 1 dependencies

Last updated 2 years agofrom:e895e542d9. Checks:OK: 3 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-win-x86_64OKNov 07 2024
R-4.5-linux-x86_64OKNov 07 2024
R-4.4-win-x86_64NOTENov 07 2024
R-4.4-mac-x86_64NOTENov 07 2024
R-4.4-mac-aarch64NOTENov 07 2024
R-4.3-win-x86_64NOTENov 07 2024
R-4.3-mac-x86_64NOTENov 07 2024
R-4.3-mac-aarch64NOTENov 07 2024

Exports:ANDas.character.DFI.FEXPRas.data.frame.DFIas.DFIas.matrix.DFIDFIDFI.getIndexDFI.indexesDFI.subsetDFI.unWrapEQEQNAINindexesEqualToindexesEqualToCharacterindexesEqualToIntegerindexesEqualToLogicalindexesEqualToNumericindexesInRangeindexesInRangeCharacterindexesInRangeIntegerindexesInRangeLogicalindexesInRangeNumericintersectIndexesListis.DFIlblbCharacterlbIntegerlbLogicallbNumericNOTORprint.DFIprint.DFI.FEXPRRGtoString.DFI.FEXPRububCharacterubIntegerubLogicalubNumericunionIndexesList

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
Binary Search Toolsbsearchtools-package bsearchtools
Create a data.frame (or matrix) with indexesas.DFI DFI is.DFI print.DFI
Coerce a DFI objectas.data.frame.DFI as.matrix.DFI
Extract the index information of a DFI objectDFI.getIndex
Get the indexes names of a DFI objectDFI.indexes
Subset a DFI objectDFI.subset
Unwrap a DFI object returning the original wrapped objectDFI.unWrap
Find indexes of a value using binary searchindexesEqualTo indexesEqualToCharacter indexesEqualToInteger indexesEqualToLogical indexesEqualToNumeric
Find indexes in a range using binary searchindexesInRange indexesInRangeCharacter indexesInRangeInteger indexesInRangeLogical indexesInRangeNumeric
Intersection / union of list of indexesintersectIndexesList unionIndexesList
Binary search based lower bound operationlb lbCharacter lbInteger lbLogical lbNumeric
Functions for row filters creation in 'DFI.subset'.AND as.character.DFI.FEXPR EQ EQNA IN NOT OR print.DFI.FEXPR RG toString.DFI.FEXPR
Binary search based upper bound operationub ubCharacter ubInteger ubLogical ubNumeric