bit64S3 {bit64}R Documentation

Turning base R functions into S3 generics for bit64

Description

Turn those base functions S3 generic which are used in bit64

Usage

from:to
is.double(x)
match(x, table, ...)
x %in% table
rank(x, ...)
order(...)

## Default S3 method:
is.double(x)

## S3 method for class 'integer64'
is.double(x)

## S3 method for class 'integer64'
mtfrm(x)

## Default S3 method:
match(x, table, ...)

## Default S3 method:
x %in% table

## Default S3 method:
rank(x, ...)

## Default S3 method:
order(...)

Arguments

x

integer64 vector: the values to be matched, optionally carrying a cache created with hashcache()

table

integer64 vector: the values to be matched against, optionally carrying a cache created with hashcache() or sortordercache()

...

ignored

from

scalar denoting first element of sequence

to

scalar denoting last element of sequence

Details

The following functions are turned into S3 generics in order to dispatch methods for integer64():

Value

invisible()

Note

See Also

bit64(), S3

Examples

 is.double(as.integer64(1))
    as.integer64(1):9
 match(as.integer64(2), as.integer64(0:3))
 as.integer64(2) %in% as.integer64(0:3)

 unique(as.integer64(c(1,1,2)))
 rank(as.integer64(c(1,1,2)))


 order(as.integer64(c(1,NA,2)))

[Package bit64 version 4.6.0-1 Index]