Description Usage Arguments Value Examples
Optimal segmentation with dynamic programming
1 | DYNPROG(dataVec, maxSegs)
|
dataVec |
A vector of data to be segmented |
maxSegs |
The maximum number of segments to create |
A cost matrix with the entry at (i, j) being the optimal cost for creating i segments up to data point j
1 2 | sampleVec <- 1:30
result <- DYNPROG(sampleVec, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.