It collects data about the internal state of the method and returns it alonside the result.
diagnostics(event, e = parent.frame())
Currently, the diagnostics collected are:
Consecutive_jaccards : The jaccard distance at each stage
sizes : The sizes at each stage in the extaction
disjointed : Whether disjointed at each point.
cycle : Whether cycled at each point.
Extraction time.