Creating new bit or bitwhich by reversing such vectors
# S3 method for class 'bit'
rev(x)
# S3 method for class 'bitwhich'
rev(x)
Arguments
- x
bit or bitwhich object
Value
An object of class 'bit' or 'bitwhich'
Examples
rev(as.bit(c(FALSE, TRUE)))
#> bit length=2 occupying only 1 int32
#> 1 2
#> TRUE FALSE
rev(as.bitwhich(c(FALSE, TRUE)))
#> bitwhich: 1/ 2 occupying only 1 int32 in 1 representation
#> 1 2
#> TRUE FALSE