Description Usage Arguments Details Value Author(s) Examples
duplicates()
generates a table showing the
duplicate Observations
as one or more copies as well as
their Surplus
indicating the second, third, ...
copy of
the first of each group of duplicates.
1 | duplicates(data, ..., drop = FALSE)
|
data |
data.frame |
... |
variables to find the duplicate observations |
drop |
|
If no variable is specified in ...
, all variables are used
to find the duplicate observations.
If drop
is set to TRUE
, all occurrences of each group
of observations except the first are deleted from the
dataset.
data.frame with a column dup_num
, indicating the number of duplicate
observations of each group of observations
Email: dr.myominnoo@gmail.com
Website: https://myominnoo.github.io/
1 2 | x <- duplicates(iris, Species)
x <- duplicates(iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.