size_to_splits {binsegRcpp}R Documentation

size to splits

Description

Convert segment size to number of splits which must be computed during the optimization.

Usage

size_to_splits(size, 
    min.segment.length)

Arguments

size

Segment size, positive integer.

min.segment.length

Minimum segment length, positive integer.

Value

Number of splits, integer.

Author(s)

Toby Dylan Hocking <toby.hocking@r-project.org> [aut, cre]


[Package binsegRcpp version 2025.5.13 Index]