Learn R Programming

binsegRcpp (version 2022.1.24)

get_complexity_extreme: get complexity extreme

Description

Compute best and worst case number of splits.

Usage

get_complexity_extreme(N.data)

Arguments

N.data

number of data to segment.

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).