Removes entries from a crops result that fall outside a specified range of penalty values.
The subset function can be useful for simplifying plots and the details produced by segmentations.
# S4 method for crops.class
subset(x, beta_min = 0, beta_max = Inf)An instance of the S4 class type crops.class. This is the same type as produced by the crops function.
An instance of an S4 class produced by crops.
A positive numeric value specifying the minimum penalty value for entries in the crops result. Default value is 0.
A positive numeric value specifying the maximum penalty value for entries in the crops result. Default value is Inf.