as.bitwhich: Coercing to bitwhich

Description Usage Arguments Value Methods (by class) Author(s) See Also Examples

View source: R/generics.R

Description

Functions to coerce to bitwhich

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## S3 method for class ''NULL''
as.bitwhich(x, ...)

## S3 method for class 'bitwhich'
as.bitwhich(x, ...)

## S3 method for class 'which'
as.bitwhich(x, maxindex = attr(x, "maxindex"), ...)

## S3 method for class 'ri'
as.bitwhich(x, ...)

## S3 method for class 'integer'
as.bitwhich(x, poslength = NULL, ...)

## S3 method for class 'double'
as.bitwhich(x, poslength = NULL, ...)

## S3 method for class 'logical'
as.bitwhich(x, poslength = NULL, ...)

## S3 method for class 'bit'
as.bitwhich(x, range = NULL, poslength = NULL, ...)

as.bitwhich(x = NULL, ...)

Arguments

x

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

...

further arguments

maxindex

the length of the new bitwhich vector

poslength

the number of selected elements

range

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

Value

a value of class bitwhich

Methods (by class)

Author(s)

Jens Oehlschlägel

See Also

CoercionToStandard, as.booltype, as.bit, as.bitwhich , as.which, as.ri, as.hi, as.ff

Examples

1
2
3
4
5
6
7
8

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