Learn R Programming

⚠️There's a newer version (4.6.0) of this package.Take me there.

bit (version 4.0.4)

Classes and Methods for Fast Memory-Efficient Boolean Selections

Description

Provided are classes for boolean and skewed boolean vectors, fast boolean methods, fast unique and non-unique integer sorting, fast set operations on sorted and unsorted sets of integers, and foundations for ff (range index, compression, chunked processing).

Copy Link

Version

Install

install.packages('bit')

Monthly Downloads

828,689

Version

4.0.4

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jens Oehlschl�gel

Last Published

August 4th, 2020

Functions in bit (4.0.4)

as.character.bit

Coerce bit to character
Extract

Extract or replace part of an boolean vector
as.booltype.default

Coerce to booltype (generic)
as.bitwhich.NULL

Coercing to bitwhich
Metadata

Generics related to cache access
physical.default

Physical and virtual attributes
Sorting

Generics for in-RAM sorting and ordering
Summaries

Summaries of boolean vectors
CoercionToStandard

Coercion from bit, bitwhich, which and ri to logical, integer, double
as.bit.NULL

Coercing to bit
bit-package

bit: Classes and methods for fast memory-efficient boolean selections
booltype

Diagnosing boolean types
is.booltype

Testing for boolean types
copy_vector

Copy atomic R vector
booltypes

Boolean types
intrle

Hybrid Index, C-coded utilities
as.which.which

Coercion to (positive) integer positions
countsort

Low-level sorting: counting sort
bbatch

Balanced Batch sizes
bit

Create empty bit vector
bit_in

bit %in%
bitsort

Low-level sorting: bit sort
bit_unidup

bit unique and duplicated
chunks

Function for chunked range index
clone

Cloning ff and ram objects
bit_rangediff

bit range difference
bit_setops

bit set operations
bitwhich

Create bitwhich vector (skewed boolean)
.BITS

Initializing bit masks
as.character.bitwhich

Coerce bitwhich to character
bitwhich_representation

Diagnose representation of bitwhich
as.ri.ri

Coerce to ri
print.bit

Print method for bit
chunk

Methods for chunked range index
print.bitwhich

Print method for bitwhich
c.booltype

Concatenating booltype vectors
quicksort2

Low-level sorting: binary quicksort
firstNA

Position of first NA
unattr

Attribute removal
get_length

Get C length of a vector
vecseq

Vectorized Sequences
range_na

Get range and number of NAs
range_nanozero

Remove zeros and get range and number of NAs
is.na.bit

Test for NA in bit and bitwhich
maxindex.default

Get maxindex (length of boolean vector) and poslength (number of 'selected' elements)
repeat.time

Adaptive timer
merge_rev

Fast functions for sorted sets of integer
reverse_vector

Reverse atomic vector
quicksort3

Low-level sorting: threeway quicksort
rev.booltype

Reversing bit and bitwhich vectors
str.bitwhich

Str method for bitwhich
ri

Range index
repfromto

Virtual recycling
rlepack

Hybrid Index, rle-pack utilities
bit_sort

bit sort
length.bit

Getting and setting length of bit, bitwhich and ri objects
bit_sort_unique

bit sort unique
still.identical

Test for C-level identity of two atomic vectors
symdiff

Symmetric set complement
range_sortna

Prepare for sorting and get range, number of NAs and unsortedness
in.bitwhich

Check existence of integers in table
getsetattr

Attribute setting by reference
str.bit

Str method for bit
rep.booltype

Replicating bit and bitwhich vectors
xor.default

Boolean operators and functions