unique {crops}R Documentation

Remove duplicate entries from a crops result

Description

Removes duplicate entries from a crops result. A duplicate entry is one having the same number of changepoints as another entry. Note that the changepoint locations and the associated penalty and cost values are not taken into consideration. The unique function can be useful for simplifying plots and the details produced by segmentations.

Usage

## S4 method for signature 'crops.class'
unique(x)

Arguments

x

An instance of an S4 class produced by crops.

Value

An instance of the S4 class type crops.class. This is the same type as produced by the crops function.


[Package crops version 1.0.3 Index]