duplicated2() determines which elements of a vector or data
frame are duplicates, and returns a logical vector indicating which
elements (rows) are duplicates.
a vector or a data frame or an array or
further arguments passed down to
duplicated function (in
TRUE for the second and following copies of each
duplicated value (second-to-last and earlier when
fromLast=TRUE). This function returns all duplicated
elementes, including the first (last) value.
duplicated2() defaults to
duplicated call. When
the following call is being executed:
duplicated(x, ...) | duplicated(x, fromLast=TRUE, ...)
For a vector input, a logical vector of the same length as
x. For a data frame, a logical vector with one element for
each row. For a matrix or array, and when
MARGIN = 0, a
logical array with the same dimensions and dimnames.
For more details see
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.