XVector (version 0.12.0)

XRawList-comparison: Comparing and ordering the list elements of XRawList objects

Description

Methods for comparing and ordering the elements in one or more XRawList objects.

Usage

## Element-wise (aka "parallel") comparison of 2 XRawList objects ## --------------------------------------------------------------
"=="(e1, e2)
"<="(e1, e2)<="" div="">
## duplicated() ## ------------
"duplicated"(x, incomparables=FALSE, ...)
## match() ## -------
"match"(x, table, nomatch=NA_integer_, incomparables=NULL)
## order() and related methods ## ---------------------------
"is.unsorted"(x, na.rm=FALSE, strictly=FALSE)
"order"(..., na.last=TRUE, decreasing=FALSE)
"rank"(x, na.last=TRUE, ties.method=c("average", "first", "random", "max", "min"))
## Generalized element-wise (aka "parallel") comparison of 2 XRawList objects ## --------------------------------------------------------------------------
"pcompare"(x, y)

Arguments

e1, e2, x, table, y
XRawList objects.
incomparables
Not supported.
...
For duplicated: currently no additional arguments are allowed.

For order: additional XRawList objects used for breaking ties.

nomatch
The value to be returned in the case when no match is found. It is coerced to an integer.
na.rm, na.last
Ignored.
strictly
TRUE or FALSE. Should the check be for strictly increasing values?
decreasing
TRUE or FALSE.
ties.method
A character string specifying how ties are treated. Only "first" and "min" are supported for now.

Details

[TODO]

See Also

Examples

Run this code
## TODO

Run the code above in your browser using DataCamp Workspace