Description Usage Arguments Value See Also
This method creates a graph of the overall cost at each changepoint model up to the selected number of changepoints. It allows to determine how many changepoints to consider and to visualize the cost decrease that each new segment brings.
1 2 | ## S4 method for signature 'BinSeg'
plotDiagnostic(object, ncpts = seq_len(nrow(object@models_summary)))
|
object |
A valid BinSeg object |
ncpts |
The number of changepoints to consider (Default is whole model) |
A ggplot with the graph of the costs.
plot For a graph of the changepoints on top of the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.