get_complexity_extreme {binsegRcpp} | R Documentation |
get complexity extreme
Description
Compute best and worst case number of splits.
Usage
get_complexity_extreme(N.data,
min.segment.length = 1L,
n.segments = NULL)
Arguments
N.data |
number of data to segment, positive integer. |
min.segment.length |
minimum segment length, positive integer. |
n.segments |
number of segments, positive integer. |
Value
data.table with one row per model size, and column splits with number of splits to check after computing that model size. Column case has values best (equal segment sizes, min splits to check) and worst (unequal segment sizes, max splits to check).
Author(s)
Toby Dylan Hocking
[Package binsegRcpp version 2023.8.31 Index]