Description Usage Arguments Value Author(s) References Examples
Prunes the CN profile using dynamical programming by specifying the target number of segments or alternative how of many change points to drop.
1 2 | ## S3 method for class 'AbstractCBS'
pruneByDP(fit, nbrOfSegments, ..., verbose=FALSE)
|
nbrOfSegments |
An |
... |
Optional arguments passed to |
verbose |
See |
Returns a pruned object of the same class.
Henrik Bengtsson, Pierre Neuvial
[1] ...
1 2 3 4 5 | ## Not run:
# Drop two segments
fitP <- pruneByDP(fit, nbrOfSegments=-2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.