Find which row has duplicated key and index elements
find_duplicates(data, key = id(), index, fromLast = FALSE)
A tbl_ts
object.
Structural variable(s) that define unique time indices, used with
the helper id. If a univariate time series (without an explicit key),
simply call id()
.
A bare (or unquoted) variable to specify the time index variable.
TRUE
does the duplication check from the last of identical
elements.
A logical vector of the same length as the row number of data