as.which: Coercion to (positive) integer positions

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/generics.R

Description

Coercing to something like the result of which which

Usage

1
2
3
4
5
6
7
8
9
as.which(x, ...)
## Default S3 method:
as.which(x, ...)
## S3 method for class 'ri'
as.which(x, ...)
## S3 method for class 'bit'
as.which(x, range = NULL, ...)
## S3 method for class 'bitwhich'
as.which(x, ...)

Arguments

x

an object of classes bit, bitwhich, ri or something on which which works

range

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

...

further arguments (passed to which for the default method, ignored otherwise)

Details

as.which.bit returns a vector of subscripts with class 'which'

Value

a vector of class 'logical' or 'integer'

Author(s)

Jens Oehlschl<c3><a4>gel

See Also

as.bit, as.logical, as.integer, as.which, as.bitwhich, as.ff, as.hi

Examples

1
2
3
4
5
6
7

OHDSI/bit documentation built on May 9, 2017, 3:30 p.m.