subset {crops} | R Documentation |
Subset crops results based on penalty values
Description
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
.
Usage
## S4 method for signature 'crops.class'
subset(x, beta_min = 0, beta_max = Inf)
Arguments
x |
An instance of an S4 class produced by |
beta_min |
A positive numeric value specifying the minimum penalty value for entries in the crops result. Default value is 0. |
beta_max |
A positive numeric value specifying the maximum penalty value for entries in the crops result. Default value is Inf. |
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]