Learn R Programming

bit (version 4.5.0)

rev.booltype: Reversing bit and bitwhich vectors

Description

Creating new bit or bitwhich by reversing such vectors

Usage

# S3 method for bit
rev(x)

# S3 method for bitwhich rev(x)

Value

An object of class 'bit' or 'bitwhich'

Arguments

x

bit or bitwhich object

Author

Jens Oehlschlägel

See Also

rev, bit , bitwhich

Examples

Run this code

 rev(as.bit(c(FALSE,TRUE)))
 rev(as.bitwhich(c(FALSE,TRUE)))

Run the code above in your browser using DataLab