subset | R Documentation |
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 signature 'crops.class' subset(x, beta_min = 0, beta_max = Inf)
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. |
An instance of the S4 class type crops.class
. This is the same type as produced by the crops
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.