Unique implementation for 64 bit integer vectors

Share:

Description

Implementation of unique for 64 bit integer vectors

Methods

signature(x = "ANY")

default implementation (from base)

signature(x = "int64")

signed 64 bit integer vectors. int64

signature(x = "uint64")

unsigned 64 bit integer vectors. uint64

Examples

1
2
3
4
5
    x <- as.int64( c(1:5, 1L, 5L) )
    unique( x )

    x <- as.uint64( c(1:5, 1L, 5L) )
    unique( x )