as.bitwhich: Coercing to bitwhich

Description Usage Arguments Value Author(s) See Also Examples

Description

Functions to coerce to bitwhich

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
as.bitwhich(x, ...)
## S3 method for class 'bitwhich'
as.bitwhich(x, ...)
## S3 method for class 'ri'
as.bitwhich(x, ...)
## S3 method for class 'bit'
as.bitwhich(x, range=NULL, ...)
## S3 method for class 'which'
as.bitwhich(x, maxindex, ...)
## S3 method for class 'integer'
as.bitwhich(x, ...)
## S3 method for class 'double'
as.bitwhich(x, ...)
## S3 method for class 'logical'
as.bitwhich(x, ...)

Arguments

x

An object of class 'bitwhich', 'integer', 'logical' or 'bit' or an integer vector as resulting from 'which'

maxindex

the length of the new bitwhich vector

range

a ri or an integer vector of length==2 giving a range restriction for chunked processing

...

further arguments

Value

a value of class bitwhich

Author(s)

Jens Oehlschlägel

See Also

bitwhich, as.bit

Examples

1
2
3
4

Example output

Attaching package bit
package:bit (c) 2008-2012 Jens Oehlschlaegel (GPL-2)
creators: bit bitwhich
coercion: as.logical as.integer as.bit as.bitwhich which
operator: ! & | xor != ==
querying: print length any all min max range sum summary
bit access: length<- [ [<- [[ [[<-
for more help type ?bit

Attaching package: 'bit'

The following object is masked from 'package:base':

    xor

bitwhich: 0/3
bitwhich: 1/3
bitwhich: 2/3
bitwhich: 3/3

bit documentation built on May 2, 2019, 4:48 p.m.