Draw segment (-boundaries) for WBS or BS
1 2 | draw_segments(n, n_segments = n, delta = 0.1, segmentation = "BS",
alpha = 1/2)
|
n |
total number of observations available |
n_segments |
Number of segments to be drawn (only relevant of WBS) |
delta |
Minimal relative segment length |
segmentation |
One of BS, WBS or SBS |
alpha |
decay parameter in [1/2, 1) for SBS |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.