Return the events duplicated in x, if any. Input 'x' should be a TRONCO compliant dataset - see is.compliant.

duplicates(x)

Arguments

x

A TRONCO compliant dataset.

Value

A subset of as.events(x) with duplicated events.

Examples

data(test_dataset)
duplicates(test_dataset)
#>      type event