Description Usage Arguments Details
Determine duplicate elements, possibly in both directions
1 | duplicated(x, incomparables = FALSE, fromLast = FALSE, ...)
|
x |
a vector or a data frame or an array or NULL. |
incomparables |
a vector of values that cannot be compared. FALSE is a special value, meaning that all values can be compared, and may be the only value accepted for methods other than the default. It will be coerced internally to the same type as x. |
fromLast |
logical indicating if duplication should be considered from the reverse side (TRUE), the start (FALSE), or from both sides (NA) |
... |
arguments for particular methods |
In the case of fromLast
either TRUE
or FALSE
, base::duplicated
is called directly.
Only when it's NA
, comparison is done from both sides
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.