bit: Create empty bit vector

Description Usage Arguments Value See Also Examples

View source: R/bit.R

Description

Bit vectors are a boolean type wihout NA that requires by factor 32 less RAM than logical. For details on usage see the usage-vignette and for details on performance see performance-vignette

Usage

1
bit(length = 0L)

Arguments

length

length in bits

Value

bit returns a vector of integer sufficiently long to store 'length' bits

See Also

booltype, bitwhich, logical

Examples

1
2
3
bit(12)
!bit(12)
str(bit(128))

bit documentation built on Aug. 4, 2020, 9:06 a.m.