Description Usage Arguments Value See Also Examples
change point analysis using binary segmentation
1 | cpt.trend(x, Q = 10, minseglen = 10, penalty = 1)
|
x |
xts, dataframe, matrix or vector, representing a time series |
Q |
Maximum number of change points required |
minseglen |
Minimum length of a trend segment |
penalty |
Penalty value, increasing it reduces number of segments |
change points data (object of class cpttrends)
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.