Description Usage Arguments Value Author(s) See Also Examples
Functions to coerce to bitwhich
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, ...)
|
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 |
... |
further arguments |
a value of class bitwhich
Jens Oehlschlägel
1 2 3 4 | as.bitwhich(c(FALSE, FALSE, FALSE))
as.bitwhich(c(FALSE, FALSE, TRUE))
as.bitwhich(c(FALSE, TRUE, TRUE))
as.bitwhich(c(TRUE, TRUE, TRUE))
|
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.