duplicated.integer64 | R Documentation |
duplicated()
determines which elements of a vector or data frame are duplicates
of elements with smaller subscripts, and returns a logical vector
indicating which elements (rows) are duplicates.
## S3 method for class 'integer64'
duplicated(x, incomparables = FALSE, nunique = NULL, method = NULL, ...)
x |
a vector or a data frame or an array or |
incomparables |
ignored |
nunique |
NULL or the number of unique values (including NA). Providing |
method |
NULL for automatic method selection or a suitable low-level method, see details |
... |
ignored |
This function automatically chooses from several low-level functions considering the size of x
and the availability of a cache.
Suitable methods are hashdup
(hashing), sortorderdup
(fast ordering) and orderdup
(memory saving ordering).
duplicated()
: a logical vector of the same length as x
.
Jens Oehlschlägel <Jens.Oehlschlaegel@truecluster.com>
duplicated
, unique.integer64
x <- as.integer64(sample(c(rep(NA, 9), 1:9), 32, TRUE))
duplicated(x)
stopifnot(identical(duplicated(x), duplicated(as.integer(x))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.